import type { BackgroundManager } from "../../features/background-agent"; type BabysittingConfig = { timeout_ms?: number; }; type BabysitterContext = { directory: string; client: { session: { messages: (args: { path: { id: string; }; }) => Promise<{ data?: unknown; } | unknown[]>; prompt: (args: { path: { id: string; }; body: { parts: Array<{ type: "text"; text: string; }>; agent?: string; model?: { providerID: string; modelID: string; }; tools?: Record; }; query?: { directory?: string; }; }) => Promise; promptAsync: (args: { path: { id: string; }; body: { parts: Array<{ type: "text"; text: string; }>; agent?: string; model?: { providerID: string; modelID: string; }; tools?: Record; }; query?: { directory?: string; }; }) => Promise; }; }; }; type BabysitterOptions = { backgroundManager: Pick; config?: BabysittingConfig; }; export declare function createUnstableAgentBabysitterHook(ctx: BabysitterContext, options: BabysitterOptions): { event: ({ event }: { event: { type: string; properties?: unknown; }; }) => Promise; }; export {};