interface DocItem {
    title: string;
    path: string;
    lang: string;
    order?: number;
    description?: string;
    tags?: string[];
}
declare class DocIndexCache {
    private cache;
    private ttl;
    /**
     * 获取文档索引（带缓存）
     */
    getDocuments(lang: string): Promise<DocItem[]>;
    /**
     * 搜索文档（带缓存）
     */
    searchDocuments(lang: string, query: string): Promise<DocItem[]>;
    /**
     * 使缓存失效
     */
    invalidate(lang?: string): void;
    /**
     * 清空所有缓存
     */
    clear(): void;
}
export declare const docIndexCache: DocIndexCache;
export {};
//# sourceMappingURL=doc-index.d.ts.map