import type { NavItem } from '@rspress/shared';
import type { DoomSidebar } from './walk.ts';
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 interface WalkResult {
    nav: NavItem[];
    sidebar: Record<string, DoomSidebar[]>;
}
export declare function combineWalkResult(walks: WalkResult[], versions: string[]): {
    nav: Record<string, NavItem[]>;
    sidebar: Record<string, DoomSidebar[]>;
};
