import type { ClientModel } from "@opengeni/sdk"; import { type PickerModelRow } from "./model-policy.js"; /** Subscriptions this deployment lets a workspace connect. */ export type ConnectableSubscriptions = { codex: boolean; supergrok: boolean; }; /** * Whether `modelId` is the deployment's free model. Only deployment config sets * catalog `cost: "free"`; a workspace's own provider rows never carry it. * Pass the failed turn's model (`session.model`), not the composer's pick. */ export declare function isDeploymentFreeModel(rows: PickerModelRow[], modelId: string): boolean; /** * Read from the client-config catalog the same way organization onboarding * does: a subscription is connectable when the deployment lists its models. */ export declare function connectableSubscriptions(models: readonly ClientModel[]): ConnectableSubscriptions;