import { type CloudAccountSummary, type CloudCreditBudget, type CloudBillingReceipt } from '@xopcai/gateway-contract'; import { type ProviderAuthService } from './provider-auth-service.js'; export type XopcCloudAccountSummary = CloudAccountSummary; export declare class XopcCloudAccountError extends Error { readonly status: number; readonly code?: string | undefined; constructor(message: string, status: number, code?: string | undefined); } export declare class XopcCloudAccountService { private readonly fetchImpl; private readonly routerUrl; private readonly credentials; constructor(options?: { fetchImpl?: typeof fetch; routerUrl?: string; credentials?: Pick; }); private request; private parse; getSummary(days?: 1 | 7 | 30): Promise; createBudget(limitCreditMicro: string, key: string): Promise; getReceipt(requestId: string): Promise; getBudget(id: string): Promise; }