import { AxiosInstance } from 'axios'; import { CommonPayloadAttributes } from './resource'; export interface InternalConfig { host: string; timeout: number; clientId: string; clientSecret: string; refreshTokens: boolean; refreshTokensAttempts: number; onRefreshError: (error: Error) => void | Promise; cookies: { scopes: string | false; customer_token: string | false; customer_refresh_token: string | false; }; } export interface Config { host: string; timeout?: number; clientId?: string; clientSecret?: string; refreshTokens?: boolean; refreshTokensAttempts?: number; onRefreshError?: (error: Error) => void | Promise; cookies?: { scopes?: string | false; customer_token?: string | false; customer_refresh_token?: string | false; } | false; } export declare const defaultConfig: Readonly; export declare const config: InternalConfig; export declare const __resetConfig: () => void; export declare const initConfig: (providedConfig: Config) => void; export declare const getConfig: () => Readonly; export declare const baseRequest: AxiosInstance; export declare const initRequest: (config: InternalConfig) => void; export declare const commonPayloadAttributes: (keyof CommonPayloadAttributes)[]; //# sourceMappingURL=config.d.ts.map