/**
 * `schedule_followup` for the built-in agent (#626).
 *
 * Lives on the main thread so it survives worker-thread restarts that happen
 * on code reload. The followup callback is injected from the entry point —
 * this module only schedules the timer and tracks pending entries.
 */
import type { AgentTool } from '../types.ts';
export interface ScheduledFollowup {
    id: string;
    sessionId: string;
    prompt: string;
    fireAt: number;
    timer: NodeJS.Timeout;
}
export interface ScheduleToolDeps {
    onFollowup: (sessionId: string, prompt: string) => Promise<void> | void;
}
export declare function buildScheduleTool(deps: ScheduleToolDeps): {
    tool: AgentTool;
    pending: Map<string, ScheduledFollowup>;
};
