import type { RuntimeTaskTurnCheckpoint } from "../core/api-contract.js";
import type { TerminalSessionManager } from "../terminal/session-manager.js";
import type { RuntimeTrpcContext } from "./app-router.js";
export interface CreateHooksApiDependencies {
    getWorkspacePathById: (workspaceId: string) => string | null;
    ensureTerminalManagerForWorkspace: (workspaceId: string, repoPath: string) => Promise<TerminalSessionManager>;
    broadcastRuntimeWorkspaceStateUpdated: (workspaceId: string, workspacePath: string) => Promise<void> | void;
    broadcastTaskReadyForReview: (workspaceId: string, taskId: string) => void;
    captureTaskTurnCheckpoint?: (input: {
        cwd: string;
        taskId: string;
        turn: number;
    }) => Promise<RuntimeTaskTurnCheckpoint>;
    deleteTaskTurnCheckpointRef?: (input: {
        cwd: string;
        ref: string;
    }) => Promise<void>;
}
export declare function createHooksApi(deps: CreateHooksApiDependencies): RuntimeTrpcContext["hooksApi"];
//# sourceMappingURL=hooks-api.d.ts.map