import type { Program } from "@oxc-project/types"; import type { Warning } from "@component-compass/plugin-core"; export declare const PLACEHOLDER_PREFIX = "__CC_LIT_HOLE_"; export type ExtractedTemplate = { source: string; /** * Maps each placeholder token (e.g. `__CC_LIT_HOLE_0__`) to the raw source * text of its `${...}` expression. Used by the walker to classify dynamic * attribute bindings as `identifier` vs `expr`. */ placeholderExpressions: Map; startLine: number; startColumn: number; }; export type ExtractResult = { templates: ExtractedTemplate[]; warnings: Warning[]; }; export declare function extractLitTemplates(file: string, source: string, program: Program): ExtractResult;