import * as Chunk from "effect/Chunk"; import * as Template from "../Template.js"; /** * @since 1.0.0 */ export declare const TEXT_ONLY_NODES_REGEX: Set; /** * @since 1.0.0 */ export declare const SELF_CLOSING_TAGS: Set; export interface Parser { parse(templateStrings: ReadonlyArray): Template.Template; } export declare function parse(templateStrings: ReadonlyArray): Template.Template; export declare class PathStack { chunk: Chunk.Chunk; count: number; inc(): void; push(): void; pop(): void; toChunk(): Chunk.Chunk; previousChunk(): Chunk.Chunk; } export declare function templateWithParts(template: ReadonlyArray): string; export declare function unsafeParsePartIndex(text: string): number; export declare function parseTextAndParts(s: string, f: (index: number) => T): Array; export declare const parser: Parser; /** * Generates a hash for an ordered list of strings. Intended for the purposes * of server-side rendering with hydration. */ export declare function templateHash(strings: ReadonlyArray): string; //# sourceMappingURL=parser.d.ts.map