/** How long a first step that arrived done stays open, showing its reasoning, before it folds. */ export declare const FINISHED_REASONING_SHOWN_MS = 1600; /** How long the reasoning takes to fold. */ export declare const REASONING_FOLD_MS = 450; /** * Times each turn's thinking, so the reply's first reasoning step takes over the seconds the * conversation counted while it showed the agent thinking. The counterpart of `AIThinkingClock`. * * It is written only from effects (`update`, `firstStepStreams`, `firstStepDone`) and read * during render, so a render React throws away changes nothing. */ export declare class AIThinkingClock { private turns; update(latest: string | undefined, isThinking: boolean, hasReplies: boolean, hasFirstStep: boolean, now?: number): void; start(turn: string): number | undefined; firstStepStreams(turn: string): void; firstStepDone(turn: string, own: number | undefined, now?: number): void; durationOfFirstStep(turn: string, own: number | undefined, now?: number): number | undefined; showsFirstStep(turn: string, now?: number): boolean; } /** A turn's clock, and the id of its first reasoning step: the one that takes over its thinking. */ export type AIThinkingTurn = { clock: AIThinkingClock; key: string; firstStepId?: string; }; export declare const AIThinkingTurnContext: import("react").Context; export declare const useAIThinkingTurn: () => AIThinkingTurn | undefined; //# sourceMappingURL=thinkingClock.d.ts.map