/** A handful of illustrative memories — deliberately varied types/content so * the sample recall below has something to actually discriminate between. */ export declare const DEMO_SEED_MEMORIES: ReadonlyArray<{ text: string; type: string; }>; export declare const DEMO_SAMPLE_QUESTION = "What does the user prefer for UI theme?"; /** * Ask the OS for a free loopback port and immediately release it. There is * an unavoidable TOCTOU race (something else could grab the port between * close() and serve()'s own listen()) — acceptable for a throwaway demo * daemon that only needs to know its own port up front in order to seed * itself over HTTP right after boot. */ export declare function getFreePort(): Promise; /** Poll /health until it responds (mock providers make this near-instant — * there's no real Ollama probe to wait on) or give up after `timeoutMs`. */ export declare function waitForHealth(baseUrl: string, timeoutMs?: number): Promise; export interface DemoHit { text: string; score: number; type?: string; } /** POST /remember for every seed memory, logging progress. Non-fatal on a * single failed insert — the demo continues so a user still sees the rest. */ export declare function seedDemoMemories(baseUrl: string, headers: Record): Promise; /** POST /recall for the sample question and print the hits. Returns the * hits so tests can assert on them without scraping stdout. */ export declare function runSampleRecall(baseUrl: string, headers: Record): Promise; export declare function demoCommand(_args: string[]): Promise;