import type { NoteMetadata } from './NoteRepository.js'; export interface MocSplitConfig { threshold: number; previewCount: number; } export interface KindSubMoc { kind: string; dirName: string; content: string; } export declare const GLOBAL_SCOPE_PREDICATE = "p => {\n const tags = (p.file.tags || []).map(t => typeof t === \"string\" ? t : (t && typeof t.tag === \"string\" ? t.tag : (t && typeof t.name === \"string\" ? t.name : String(t)))).map(t => t.replace(/^#/, \"\"));\n return tags.includes(\"scope:global\") && !tags.some(t => t.startsWith(\"project:\"));\n}"; export declare function buildIndexContent(project: string, notes: NoteMetadata[], splitConfig?: MocSplitConfig): { content: string; subMocs: KindSubMoc[]; }; export interface ProjectStat { project: string; noteCount: number; lastActive: number; } export declare function buildGlobalIndexContent(projectStats: ProjectStat[], preferencesCount: number, generalCount: number, fleetingCount: number, totalNoteCount: number, options?: { includeReviewLink?: boolean; includeGlobalLogLink?: boolean; }): string; export declare function buildProjectsIndexContent(projectStats: ProjectStat[]): string; export declare function buildGeneralIndexContent(notes: NoteMetadata[]): string; export declare function buildPreferencesIndexContent(_notes: NoteMetadata[]): string; export declare function buildGeneralKindIndexContent(kind: string, _notes: NoteMetadata[]): string; //# sourceMappingURL=IndexBuilder.d.ts.map