import type { LLMProvider } from '../llm/types.js'; /** Frontmatter-only representation of a node — cheap to return in bulk. */ export interface NodeSummary { id: string; name: string; entityType: string; description?: string; tags: string[]; created: string; updated?: string; } /** Full node representation — fetched on-demand by the LLM. */ export interface NodeDetail extends NodeSummary { /** All domain fields (status, dueDate, priority, etc.) */ fields: Record; /** User-written body content */ body: string; } /** * Keyword search across all entity types, returning NodeSummary (frontmatter only). * Uses the in-memory index when built; falls back to a lightweight filesystem scan. */ export declare function searchSummaries(query: string, options?: { types?: string[]; limit?: number; }): Promise; /** * Fetch full NodeDetail for a list of entity IDs. * Reads files from disk; uses the index for fast filepath lookup. */ export declare function getNodeDetails(ids: string[]): Promise; /** * Run the Progressive Disclosure phase. * * Returns a compact context snapshot string that replaces the full context tree * in the chat pipeline. Significantly reduces token usage for entity-heavy vaults. */ export declare function runProgressiveDisclosure(llm: LLMProvider, userInput: string, vaultContext: string, keywords: string[]): Promise; //# sourceMappingURL=progressive-disclosure.d.ts.map