export { clearSharedQueries, invalidateSharedQueries, isSharedQueryAccessRefusal, peekSharedQuery, retainSharedQueries, sharedQueryWriter, useSharedQuery, useSharedQueryValue, useSharedQueryActivity, type SharedQueryKey, type SharedQueryWriter, } from "../../hooks/shared-query.js"; /** * Every retained subscription account list for a client: Codex (workspace, * session and organization lists), the Claude/SuperGrok/xAI pools and the * SuperGrok switcher list. For changes that can alter which accounts a * workspace sees, such as an "Available in" save. */ export declare function invalidateSubscriptionAccountQueries(client: object, includeUsagePools?: boolean): Promise; /** The window event pages dispatch after a model connection or its availability changes. */ export declare const MODEL_CONNECTIONS_CHANGED = "model-connections-changed"; export declare const MODEL_SETTINGS_STALE_TIME_MS: number; export declare function invalidateModelSettingsQueries(client: object, includeUsagePools?: boolean): Promise; /** Notify legacy consumers after one awaited invalidation, without repeating live checks. */ export declare function notifyModelConnectionsChanged(client: object): Promise; /** * The console's cache wiring for its API client (called once, at the root that * owns `client`): * * - Reads made through `client` are kept across navigation. The console * creates a new client on every identity change, so they never outlive the * person they were read for: switching clients releases (and clears) the * previous one. * - A `model-connections-changed` event (an "Available in" or default change) * re-reads every mounted subscription account list and drops the rest. */ export declare function useConsoleSharedQueries(client: object): void;