import { Plugin } from "vite"; //#region src/compile.d.ts type Heading = Readonly<{ depth: number; slug: string; text: string; }>; type CompileResult = Readonly<{ html: string; frontmatter: Record; headings: ReadonlyArray; title: string; }>; type CompileOptions = Readonly<{ shiki?: { themes?: { light: string; dark: string; }; langs?: ReadonlyArray; }; }>; //#endregion //#region src/extract-script.d.ts type IslandImport = { name: string; specifier: string; strategy: string; /** Root-relative island ID (set during transform when file context is available). */ islandId?: string; }; type ScriptExtraction = Readonly<{ script: string | null; body: string; islandImports: Array; clientCode: string | null; }>; //#endregion //#region src/plugin.d.ts type MdPage = Readonly<{ path: string; title: string; frontmatter: Record; headings: ReadonlyArray<{ depth: number; slug: string; text: string; }>; }>; type MarkdownOptions = Readonly<{ shiki?: CompileOptions["shiki"]; }>; declare function voidMarkdown(options?: MarkdownOptions): Array; //#endregion export { ScriptExtraction as a, IslandImport as i, MdPage as n, CompileOptions as o, voidMarkdown as r, CompileResult as s, MarkdownOptions as t };