blob: b50e40487725735d9a4363e769f0aeedd4f67076 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { Context } from '../context/context';
import { Tokenizer } from '../parser/tokenizer';
import { Token } from '../tokens/token';
type HashValueTokens = Record<string, Token | undefined>;
/**
* Key-Value Pairs Representing Tag Arguments
* Example:
* For the markup `, foo:'bar', coo:2 reversed %}`,
* hash['foo'] === 'bar'
* hash['coo'] === 2
* hash['reversed'] === undefined
*/
export declare class Hash {
hash: HashValueTokens;
constructor(input: string | Tokenizer, jekyllStyle?: boolean | string);
render(ctx: Context): Generator<unknown, Record<string, any>, unknown>;
}
export {};
|