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