UNPKG

504 BTypeScriptView Raw
1import { Context } from '../../context/context';
2export interface HashValue {
3 [key: string]: any;
4}
5/**
6 * Key-Value Pairs Representing Tag Arguments
7 * Example:
8 * For the markup `, foo:'bar', coo:2 reversed %}`,
9 * hash['foo'] === 'bar'
10 * hash['coo'] === 2
11 * hash['reversed'] === undefined
12 */
13export declare class Hash {
14 hash: HashValue;
15 constructor(markup: string, jekyllStyle?: boolean);
16 render(ctx: Context): Generator<unknown, HashValue, unknown>;
17}