import type { CodexServerRequestHandlers } from "../codex-app-server.js"; import type { NativeNotifications } from "./native-protocol.generated.js"; import { type NativeApprovalPolicy } from "./native-policy.js"; import type { CodexQuestions } from "./questions.js"; type ApprovalMethod = "item/commandExecution/requestApproval" | "item/fileChange/requestApproval" | "item/permissions/requestApproval"; type Identity = { itemId: string; threadId: string; turnId: string; }; /** Changes from a retained native file-change item in the same thread and turn. */ export type NativeApprovalFileChanges = Extract["changes"]; /** Driver-owned consent hooks; the existing native callback wrapper owns turn/generation binding. */ export declare function createCodexNativeApprovalHandlers(options: { questions: CodexQuestions; getPolicy: () => NativeApprovalPolicy | undefined; getFileChanges: (identity: Identity) => NativeApprovalFileChanges | undefined; }): Pick; export {}; //# sourceMappingURL=native-approvals.d.ts.map