import type { Model } from "../../types.js"; import type { RequestBody } from "./request-transformer.js"; /** * Request Daybreak Blue on `body` when `accountId` may use it on `model` and * no earlier rejection dropped it. */ export declare function applyCodexAccessPrograms(body: RequestBody, model: Model<"openai-codex-responses">, accountId: string | undefined): void; /** * Strip `access_programs` from `body` when `error` is the backend rejecting it, * remembering the drop for (account, model). Returns `true` when the caller * should replay the request; at most once per body, since the field is gone. */ export declare function dropRejectedCodexAccessPrograms(body: RequestBody, model: Model<"openai-codex-responses">, accountId: string | undefined, error: unknown): boolean;