export interface SessionChunkEvent {
    sessionId: string;
    stream: "stdout" | "stderr" | "agent";
    chunk: string;
    ts: number;
}
export interface SessionEndedEvent {
    sessionId: string;
    reason: string;
    ts: number;
}
export interface SessionToolEvent {
    sessionId: string;
    hookEventName: "tool_call" | "tool_result" | "agent_end" | "agent_error" | "session_shutdown";
    agentId?: string;
    conversationId?: string;
    parentAgentId?: string;
    iteration?: number;
    toolName?: string;
    inputTokens?: number;
    outputTokens?: number;
    ts?: string;
}
export interface SessionTeamProgressEvent {
    sessionId: string;
    teamName: string;
    lifecycle: import("@clinebot/shared").TeamProgressLifecycleEvent;
    summary: import("@clinebot/shared").TeamProgressSummary;
}
export interface SessionPendingPromptsEvent {
    sessionId: string;
    prompts: Array<{
        id: string;
        prompt: string;
        delivery: "queue" | "steer";
        attachmentCount: number;
    }>;
}
export interface SessionPendingPromptSubmittedEvent {
    sessionId: string;
    id: string;
    prompt: string;
    delivery: "queue" | "steer";
    attachmentCount: number;
}
export type CoreSessionEvent = {
    type: "chunk";
    payload: SessionChunkEvent;
} | {
    type: "agent_event";
    payload: {
        sessionId: string;
        event: import("@clinebot/agents").AgentEvent;
    };
} | {
    type: "team_progress";
    payload: SessionTeamProgressEvent;
} | {
    type: "pending_prompts";
    payload: SessionPendingPromptsEvent;
} | {
    type: "pending_prompt_submitted";
    payload: SessionPendingPromptSubmittedEvent;
} | {
    type: "ended";
    payload: SessionEndedEvent;
} | {
    type: "hook";
    payload: SessionToolEvent;
} | {
    type: "status";
    payload: {
        sessionId: string;
        status: string;
    };
};
//# sourceMappingURL=events.d.ts.map