import type { NavItem } from '@rspress/shared';
import type { DoomSidebar } from './walk.js';
export declare function detectFilePath(rawPath: string, extensions: string[]): Promise<string | undefined>;
export declare function extractInfoFromFrontmatter(filePath: string, rootDir: string, extensions: string[]): Promise<{
    realPath: string | undefined;
    title: string;
    overviewHeaders: number[] | undefined;
    context: string | undefined;
    weight?: number;
}>;
export declare function combineWalkResult(walks: {
    nav: NavItem[];
    sidebar: Record<string, DoomSidebar[]>;
}[], versions: string[]): {
    nav: {};
    sidebar: {};
};
