import type { Message } from "../agent/types.js"; import type { Context } from "@steve.kite/stdlib"; import { type AutoPermissionReview } from "./parseAutoPermissionReview.js"; import type { PermissionReviewAgent } from "./PermissionReviewAgent.js"; /** * Wall-clock budget for one review, matching Codex. The reviewer may make as many tool calls as * it wants inside this window; when the window closes the action is denied as unproven. */ export declare const AUTO_PERMISSION_REVIEW_TIMEOUT_MS = 90000; export declare function reviewAutoPermission(ctx: Context, options: { action: string; args: unknown; messages: readonly Message[]; reviewer: PermissionReviewAgent; signal?: AbortSignal; timeoutMs?: number; toolName: string; }): Promise;