import type { TextDocument } from "vscode-languageserver-textdocument"; export type CompiledOutputTarget = "dom" | "html"; export interface CompiledOutput { language: string; content: string; } /** * Compiles a Marko document to its final JavaScript output for the requested * target (`dom` for client side or `html` for server side rendering). * * Compilation always assumes esm mode and reuses the translator/config resolved * for the document's project, so the output reflects whichever Marko runtime * (eg Marko 5 vs Marko 6) the project depends on. */ export declare function compileDocument(doc: TextDocument, output: CompiledOutputTarget): Promise;