import type { ConnectedModelListPrice } from "@opengeni/contracts"; import { type ConnectionMetadataWithVerification } from "./connection-metadata.js"; import { type Database } from "./database.js"; /** * Set or clear (null) what a workspace's own OpenAI, Azure OpenAI or * OpenAI-compatible model key's model costs: the catalogue model whose list * rate it shares, or an explicit rate. Only the price changes: the key's * version, and so its model's id and every accepted turn on it, stay as they * are. Repeating the same price is a no-op write. Null when the connection is * not an active workspace model key in this workspace. */ export declare function setWorkspaceModelKeyListPriceInScope(scopedDb: Database, input: { accountId: string; workspaceId: string; connectionId: string; actorSubjectId: string; price: ConnectedModelListPrice | null; }): Promise; /** `setWorkspaceModelKeyListPriceInScope` in its own workspace scope. */ export declare function setWorkspaceModelKeyListPrice(db: Database, input: Parameters[1]): Promise;