import type { RuntimeTaskSessionSummary } from "../core/api-contract.js";
import { type ClineTaskMessage, type ClineTaskSessionEntry } from "./cline-session-state.js";
export interface ApplyClineSessionEventInput {
    event: unknown;
    taskId: string;
    entry: ClineTaskSessionEntry;
    pendingTurnCancelTaskIds: Set<string>;
    emitSummary: (summary: RuntimeTaskSessionSummary) => void;
    emitMessage: (taskId: string, message: ClineTaskMessage) => void;
}
export declare function extractClineSessionId(event: unknown): string | null;
export declare function applyClineSessionEvent(input: ApplyClineSessionEventInput): void;
//# sourceMappingURL=cline-event-adapter.d.ts.map