import { type UserConfig } from '@rspress/core';
import type { GlobalCliOptions } from '../types.js';
export declare function loadConfig(root?: string, { config: configFile, base, prefix, v: version, download, export: export_, ignore, force, open, lazy, include, exclude, outDir, redirect, editRepo, algolia, siteUrl, }?: GlobalCliOptions): Promise<{
    config: UserConfig;
    filepath?: string;
}>;
export declare function resolveDocRoot(cwd: string, cliRoot?: string, configRoot?: string): string;
