blob: e4f85e47fdbe7f84dfb67a828d99c4a83fcf7021 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import { Tag, TagClass, TagRenderReturn } from './tag';
import { TagToken, TopLevelToken } from '../tokens';
import { Emitter } from '../emitters';
import { Context } from '../context';
export interface TagImplOptions {
[key: string]: any;
parse?: (this: Tag & TagImplOptions, token: TagToken, remainingTokens: TopLevelToken[]) => void;
render: (this: Tag & TagImplOptions, ctx: Context, emitter: Emitter, hash: Record<string, any>) => TagRenderReturn;
}
export declare function createTagClass(options: TagImplOptions): TagClass;
|