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