import { type CodexAccountStatus } from "@opengeni/db"; /** * Derive the two distinct cached worker-readiness meanings exposed by the * status route. `poolReady` means at least one effective-pool account passes * the worker's cached admission predicate. `workerRoutable` additionally * honors rotation-off's active-pointer-only rule; it says nothing about a * session-specific manual pin. */ export declare function codexWorkerReadiness(input: { effectiveSource: "workspace" | "organization" | "disabled"; rotationEnabled: boolean; activeCredentialId: string | null; accounts: ReadonlyArray>; now: Date; }): { poolReady: boolean; workerRoutable: boolean; }; export declare function codexModelsForPicker(): Array<{ id: string; label: string; provider: string; providerLabel: string; api: "responses"; }>; import { type ApiRouteDeps } from "@opengeni/core"; import type { Context, Hono } from "hono"; type ManagedCookieHuman = { subjectId: string; browserSessionHash: string; }; export declare function requireOrganizationCodexHuman(c: Context, deps: ApiRouteDeps, organizationId: string): Promise; export declare function requireSameOriginBrowserMutation(c: Context, deps: ApiRouteDeps): void; export declare function registerCodexRoutes(app: Hono, deps: ApiRouteDeps): void; export {};