export interface ClientConfig { apiKey: string; baseUrl: string; timeout: number; maxRetries: number; } /** * GraphQL client for CleanSlate API * Handles authentication, retries, and error mapping for GraphQL operations */ export declare class CleanSlateClient { private readonly config; constructor(config: ClientConfig); /** * Execute GraphQL query or mutation with authentication and error handling */ protected executeGraphQL(query: string, variables?: Record): Promise; /** * Fetch with automatic retry logic */ private fetchWithRetry; /** * Handle GraphQL response and parse JSON * Note: CleanSlate's /auth/graphql endpoint returns data directly, not wrapped in { data: {...} } */ private handleGraphQLResponse; /** * Map network errors to user-friendly messages */ private handleError; } //# sourceMappingURL=client.d.ts.map