import { PluginOption } from 'vite';

type ModeScan = "legacy" | "v2";
type RAOpts = {
    root?: string;
    pageDir?: string;
    cacheDir?: string;
    raAdminId?: string;
    raAdminFile?: string;
    raMenuId?: string;
    raMenuFile?: string;
    raPkg?: string;
    mode?: ModeScan;
    lazyLoad?: boolean;
    withRole?: boolean;
};

declare const raPages: (raOpts?: RAOpts) => PluginOption;

export { raPages as default, raPages };
