import type { Plugin } from 'vite'; import type { SdocsConfig, ResolvedSdocsConfig } from './types.js'; export declare function sdocsPlugin(userConfig?: (SdocsConfig | ResolvedSdocsConfig) & { _buildMode?: boolean; /** The project directory. Standalone dev/build run Vite from a staging * dir under node_modules, so the Vite root is NOT the project — and doc * paths encoded against it disagree with every other process that talks * about the same stage. Embedded, the two are the same. */ _projectRoot?: string; }): Plugin;