export declare const CH: { readonly snapshot: "knowledge:snapshot"; readonly reindex: "knowledge:reindex"; readonly startSamples: "knowledge:start-samples"; readonly pick: "knowledge:pick"; readonly search: "knowledge:search"; readonly refresh: "knowledge:refresh"; }; export type EventRow = { at: number; kind: string; detail: string; }; export type DocRow = { id: number; title: string; path: string; bytes: number; chunks: number; }; export type Hit = { docId: number; title: string; path: string; seq: number; snippet: string; score: number; }; export type IndexState = { status: "idle" | "indexing" | "ready" | "error"; current: number; total: number; progress: number; lastError: string; indexedAt: number; docs: number; chunks: number; dbBytes: number; }; export type Snapshot = { platform: string; electronVersion: string; nodeVersion: string; worker: { running: boolean; pid: number; }; index: IndexState; docs: DocRow[]; samples: string[]; lastQuery: string; hits: Hit[]; searchMs: number; searchError: string; events: EventRow[]; }; export declare function assertSearchReq(value: unknown): asserts value is { query: string; }; export declare function assertNoArgs(value: unknown): asserts value is Record; //# sourceMappingURL=ipc.d.ts.map