import { AssistantSandboxAuthContext } from './types'; /** * ★★ Delegates to `./quota`, which is the canonical classifier. * * This function used to return true for ANY 429. That conflated two refusals * the gateway sends with the same status: `QUOTA_EXHAUSTED` — the workspace has * the quota and used it up, so upgrading fixes it — and `QUOTA_NOT_PROVISIONED`, * where the workspace has no assignment row at all and nothing the user does * helps. BOFF-6302 exists because those two were shown to people with the same * words, sending them to buy something that would not have helped. * * Behaviour is otherwise unchanged: a bare 429 with no code still classifies as * exhausted (the raw-fetch transport surfaces those), and an explicit code still * wins over the status. */ export { isQuotaExhaustedError } from './quota'; export declare function buildSandboxContextInput(workspaceId: string, authContext?: AssistantSandboxAuthContext): Record; export declare function executeSandboxGraphQL(params: { query: string; operationName: string; variables: Record; workspaceId: string; authContext?: AssistantSandboxAuthContext; }): Promise; //# sourceMappingURL=gatewayClient.d.ts.map