import type { TokenSubType, TokenType } from './token'; export type Configuration = { specification?: Specification; }; export type Specification = Array; export type SpecificationEntry = [RegExp, TokenType, TokenSubType] | [RegExp, TokenType]; export type TokenizerGenerator = Generator; export declare class Liquid implements TokenizerGenerator { static escape(content: string): string; static unescape(content: string): string; private input; private cursor; private specification; constructor(input: string, configuration?: Configuration); tokenize(this: TokenizerGenerator & this): Token[]; [Symbol.iterator](this: TokenizerGenerator & this): Generator; next(): IteratorResult; return(): IteratorResult; throw(): IteratorResult; private match; private done; }