import type { ThemeConfig } from '@refrakt-md/transform';
import type { RouteRule, RunePackage } from '@refrakt-md/types';
export interface EditorOptions {
    /** Absolute path to the content directory */
    contentDir: string;
    /** Port to listen on (default: 4800) */
    port?: number;
    /** Theme configuration object */
    themeConfig: ThemeConfig;
    /** Path to theme's CSS entry file (index.css) */
    themeCssPath?: string;
    /** Path to theme's Svelte entry (for preview runtime) */
    themeSveltePath?: string;
    /** URL of running dev server for live preview */
    devServer?: string;
    /** Absolute path to a static assets directory (served at root, like SvelteKit's static/) */
    staticDir?: string;
    /** Whether to open browser automatically (default: true) */
    open?: boolean;
    /** Absolute path to refrakt.config.json (needed for routeRules editing) */
    configPath?: string;
    /** Route rules from refrakt.config.json */
    routeRules?: RouteRule[];
    /** npm package names of community rune packages (used to build client-side tags bundle) */
    packageNames?: string[];
    /** Community rune packages (for cross-page pipeline hooks) */
    packages?: RunePackage[];
    /** Extra Markdoc tags from community packages (merged into preview pipeline) */
    extraTags?: Record<string, import('@markdoc/markdoc').Schema>;
    /** Absolute path to sandbox examples directory */
    sandboxExamplesDir?: string;
    /** Community rune metadata for the editor palette */
    communityRunes?: Array<{
        name: string;
        aliases: string[];
        description: string;
        selfClosing: boolean;
        category: string;
        attributes: Record<string, {
            type: string;
            required: boolean;
            values?: string[];
        }>;
        example?: string;
        contentModel?: object;
    }>;
}
export declare function startEditor(options: EditorOptions): Promise<void>;
//# sourceMappingURL=server.d.ts.map