import type { Plugin } from 'vite'; export interface VisualEditorOptions { /** * Enable debug logging * @default false */ debug?: boolean; } /** * The visual editor's SERVER half: three RPCs over the dev server that read and * rewrite the JSX behind a `data-ve-file:line:col` coordinate. * * There is no client half here any more. This plugin used to also emit a whole * in-page editor UI (`getVisualEditorScript`) into the dev bootstrap — ~700 * lines of highlighter, panel and inline-editing code that only activated on a * `postMessage` with `source: "proyecta-visual-editor-parent"`. Nothing in the * repo ever sent one: the builder talks to the template-owned inspector * (`src/visual-inspector/`) over a different protocol entirely. So it shipped * into every preview document, bound nothing, and was deleted rather than * documented. * * The RPCs below are LIVE and load-bearing — the inspector calls * `/__proyecta_analyze_element` to decide whether an element can be edited at * all, and the other two to persist edits. */ export declare function visualEditorPlugin(options?: VisualEditorOptions): Plugin; //# sourceMappingURL=index.d.ts.map