import type { AgentEvent, AgentProfile } from './event-types.js'; interface AgentSessionOptions { cwd?: string; env?: Record; onEvent: (event: AgentEvent) => void; onDone: (events: AgentEvent[]) => void; } export declare class AgentSession { private profile; private task; private opts; private child; private events; private toolCallCount; constructor(profile: AgentProfile, task: string, opts: AgentSessionOptions); start(): void; kill(): void; } export {};