import type { Prompt, PromptConfig } from "./types.js"; /** Create a typed prompt definition whose explicit id contains non-whitespace text. */ export declare function prompt(config: PromptConfig): Prompt; /** Clock and timer dependencies used to enforce prompt render deadlines. */ export interface PromptDeadlineRuntime { now(): number; setTimer(callback: () => void, delayMs: number): ReturnType; clearTimer(handle: ReturnType): void; } /** Inject a controlled clock and timers so tests can cross a deadline without real waiting. */ export declare function setPromptDeadlineRuntimeForTests(runtime: PromptDeadlineRuntime): void; /** Restore the real clock and timers captured at module load. */ export declare function resetPromptDeadlineRuntimeForTests(): void; //# sourceMappingURL=factory.d.ts.map