import { Plugin } from 'vite';
import { DefaultTheme } from 'vitepress';

interface AutoSidebarOptions {
    /**
     * call back when sidebar resolved.
     */
    sidebarResolved?: (value: DefaultTheme.SidebarMulti) => void;
    /**
     * doc dir
     */
    docs?: string;
    /**
     * ignore some file
     */
    ignores?: string[];
    /**
     * .vitepress 所在的文件夹
     */
    root?: string;
}
declare function VitePluginAutoSidebar(options?: AutoSidebarOptions): Plugin;

export { AutoSidebarOptions, VitePluginAutoSidebar as default };
