import type { Agent, DefaultAgent, ForkOptions, Thinking } from "../types.mjs"; /** Compacts retained history immediately without fabricating a user prompt. */ export function compact(agent: Agent): Promise; /** Forks the latest checkpoint, or the exact completed result supplied in `options.at`. */ export function fork(agent: Agent, options?: fork.Options): Promise; export declare namespace fork { type Options = ForkOptions; type ReturnType = DefaultAgent; } /** Creates a clean sibling with the Agent's configuration and tools. */ export function spawn(agent: Agent): Promise; export declare namespace spawn { type ReturnType = DefaultAgent; } /** Changes the reasoning effort for subsequently accepted turns. */ export function setThinking(agent: Agent, thinking: Thinking): Promise; /** Enables or disables priority processing for subsequently accepted turns. */ export function setFastMode(agent: Agent, enabled: boolean): Promise; /** Stops the driver and joins every resource owned by this Agent. */ export function shutdown(agent: Agent): Promise;