import { ParseData, ParserDef } from './types.js'; export declare const createParseData: (value: string | string[], index: number, lastIndex: number, data?: T) => ParseData; /** * Outdent a string based on the first indented line's leading whitespace * * @private */ export declare function outdent(str: string, indentValue?: number | string): string; /** * Encode special attribute characters to HTML entities in a String. * * @private */ export declare function encodeAttr(str: string): string; export declare function wrap(el: string, inner: string | string[], attributes?: { [key in string]: unknown; }): string; export declare function parseAttrList(str?: string): string; export declare function isInline(tag: string): boolean; export declare function until(iter: Iterable, fn: (x: T, i: number) => unknown): IterableIterator; export declare function attrs(attrs: { [key in string]: unknown; }): string; export declare function compileTokens(tokens: Map>): RegExp;