type Plugin = {
    name: string;
    apply?: 'serve' | 'build' | ((...args: any[]) => boolean);
    config?: () => Record<string, unknown>;
    configResolved?: () => void | Promise<void>;
    buildStart?: () => void | Promise<void>;
};
export type WaSqlitePluginOptions = {
    /** Destination directory (relative to project root) where wa-sqlite assets are copied. Defaults to public/wa-sqlite. */
    outDir?: string;
    /** Multiple destination directories (relative to project root). Useful for apps served from a base path. */
    outDirs?: string[];
};
/**
 * Vite plugin that copies the repo's vendored wa-sqlite artifacts into your app's public folder.
 * This removes the need for ad-hoc copy scripts in example apps.
 */
export declare function treecrdt(opts?: WaSqlitePluginOptions): Plugin;
export {};
