import type { CodexAccount, CodexUsageMap, ModelAccountChoiceOption, SessionEvent, SessionModelAccountChoiceResponse } from "@opengeni/sdk"; import { type UseCodexAccountsResult } from "../../../hooks/use-codex-accounts.js"; import { type UseSessionModelAccountResult } from "../../../hooks/use-session-model-account.js"; import { type SubscriptionAccount, type SubscriptionAccountState, type SubscriptionAccountUsage } from "./subscription-account.js"; type IndicatorProps = { workspaceId: string; sessionId: string; /** The session's organization; scopes personal-account choices. */ organizationId: string | null; /** The session model's subscription provider (`codex`, `claude`, `xai`). */ provider: string; /** The newest started turn, to show the account that served it. */ servingTurnId?: string | undefined; events?: SessionEvent[]; }; export declare function SubscriptionAccountIndicator(props: IndicatorProps): import("react").JSX.Element; /** Renders the neutral state; identical for every provider. */ export declare function SubscriptionAccountControl({ state, onChoose, onOpenChange, }: { state: SubscriptionAccountState; onChoose: (accountId: string | null) => void; onOpenChange?: ((open: boolean) => void) | undefined; }): import("react").JSX.Element; export declare function sharedAccount(option: ModelAccountChoiceOption): SubscriptionAccount; /** The shared subscription core's session choice as the neutral state. */ export declare function sharedAccountState(provider: string, account: Pick & { choice: SessionModelAccountChoiceResponse | null; }, servingTurnId: string | undefined): SubscriptionAccountState; export declare function codexUsage(account: CodexAccount, live: CodexUsageMap[string] | undefined, now?: number): SubscriptionAccountUsage | null; /** The Codex session endpoint as the neutral state. */ export declare function codexAccountState(codex: Pick, check: { checking: boolean; checked: boolean; failed: boolean; }): SubscriptionAccountState; export {};