liquidjs
Version:
A simple, expressive, safe and Shopify compatible template engine in pure JavaScript.
10 lines (9 loc) • 569 B
TypeScript
import { BlockDrop } from '../../drop/block-drop';
import { TagToken, TopLevelToken, Context, TagImpl, Emitter } from '../../types';
declare const _default: {
parse(this: TagImpl, token: TagToken, remainTokens: TopLevelToken[]): void;
render(this: TagImpl, ctx: Context, emitter: Emitter): IterableIterator<any>;
getBlockRender(this: TagImpl, ctx: Context): (superBlock: BlockDrop) => any;
emitHTML(this: TagImpl, ctx: Context, emitter: Emitter, blockRender: (block: BlockDrop) => string): IterableIterator<string>;
};
export default _default;