import { z } from 'zod'; declare const schemas: { readonly 'account/read': z.ZodObject<{ refreshToken: z.ZodOptional>; }, z.core.$strict>; readonly 'model/list': z.ZodObject<{ cursor: z.ZodOptional>; limit: z.ZodOptional; includeHidden: z.ZodOptional; }, z.core.$strict>; readonly 'project/list': z.ZodObject<{ cursor: z.ZodOptional>; limit: z.ZodOptional; }, z.core.$strict>; readonly 'project/create': z.ZodObject<{ name: z.ZodString; roots: z.ZodArray>; idempotencyKey: z.ZodString; }, z.core.$strict>; readonly 'thread/list': z.ZodObject<{ cursor: z.ZodOptional>; limit: z.ZodOptional; sortKey: z.ZodOptional>; sortDirection: z.ZodOptional>; modelProviders: z.ZodOptional>>; sourceKinds: z.ZodOptional>>; archived: z.ZodOptional; isPinned: z.ZodOptional; cwd: z.ZodOptional]>>; useStateDbOnly: z.ZodOptional; searchTerm: z.ZodOptional; }, z.core.$strict>; readonly 'thread/read': z.ZodObject<{ threadId: z.ZodString; includeTurns: z.ZodOptional; }, z.core.$strict>; readonly 'dsh/sessionHistory': z.ZodObject<{ threadId: z.ZodString; beforeSeq: z.ZodOptional; throughSeq: z.ZodOptional; maxMessages: z.ZodOptional; }, z.core.$strict>; readonly 'dsh/sessionAttachment': z.ZodObject<{ threadId: z.ZodString; attachmentId: z.ZodString; }, z.core.$strict>; readonly 'dsh/directoryList': z.ZodObject<{ path: z.ZodString; }, z.core.$strict>; readonly 'thread/start': z.ZodObject<{ cwd: z.ZodString; model: z.ZodOptional; personality: z.ZodOptional; permissionPreset: z.ZodOptional>; }, z.core.$strict>; readonly 'thread/resume': z.ZodObject<{ threadId: z.ZodString; model: z.ZodOptional; permissionPreset: z.ZodOptional>; }, z.core.$strict>; readonly 'thread/fork': z.ZodObject<{ threadId: z.ZodString; lastTurnId: z.ZodOptional; permissionPreset: z.ZodOptional>; }, z.core.$strict>; readonly 'thread/name/set': z.ZodObject<{ threadId: z.ZodString; name: z.ZodString; }, z.core.$strict>; readonly 'thread/archive': z.ZodObject<{ threadId: z.ZodString; }, z.core.$strict>; readonly 'thread/unarchive': z.ZodObject<{ threadId: z.ZodString; }, z.core.$strict>; readonly 'thread/unsubscribe': z.ZodObject<{ threadId: z.ZodString; }, z.core.$strict>; readonly 'turn/start': z.ZodObject<{ threadId: z.ZodString; input: z.ZodArray; text: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"image">; mediaType: z.ZodEnum<{ "image/png": "image/png"; "image/jpeg": "image/jpeg"; "image/webp": "image/webp"; "image/gif": "image/gif"; }>; data: z.ZodString; }, z.core.$strict>]>>; model: z.ZodOptional; effort: z.ZodOptional>; summary: z.ZodOptional>; personality: z.ZodOptional; permissionPreset: z.ZodOptional>; }, z.core.$strict>; readonly 'turn/steer': z.ZodObject<{ threadId: z.ZodString; input: z.ZodArray; text: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"image">; mediaType: z.ZodEnum<{ "image/png": "image/png"; "image/jpeg": "image/jpeg"; "image/webp": "image/webp"; "image/gif": "image/gif"; }>; data: z.ZodString; }, z.core.$strict>]>>; expectedTurnId: z.ZodString; }, z.core.$strict>; readonly 'turn/interrupt': z.ZodObject<{ threadId: z.ZodString; turnId: z.ZodString; }, z.core.$strict>; }; export type AllowedCodexAppMethod = keyof typeof schemas; export declare const CODEX_APP_ALLOWLIST: readonly ("turn/start" | "thread/list" | "project/list" | "model/list" | "thread/resume" | "dsh/directoryList" | "thread/archive" | "thread/start" | "thread/fork" | "turn/steer" | "thread/read" | "turn/interrupt" | "thread/name/set" | "dsh/sessionHistory" | "project/create" | "account/read" | "dsh/sessionAttachment" | "thread/unarchive" | "thread/unsubscribe")[]; export declare function parseCodexCall(method: string, params: unknown): { method: AllowedCodexAppMethod; params: Record; }; export declare function isThreadMutation(method: AllowedCodexAppMethod): boolean; export declare function threadIdFromParams(params: Record): string | undefined; export {}; //# sourceMappingURL=method-policy.d.ts.map