import { ApiError } from './error.js'; import { b as RequestInterceptor, c as ErrorInterceptor, d as ResponseInterceptor, I as InterceptorType, e as RawResponseReader } from './fetch-B8-kP4X0.js'; import { gy as ResourcesInitConfig } from './api-C0NFQ-CQ.js'; import './client.js'; import './types.js'; declare const OPEN_API_SCHEMA_VERSION = "7.9.16"; type SdkConfig = {}; type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig; type CommerceLayerConfig = Partial; declare class CommerceLayerClient { readonly openApiSchemaVersion = "7.9.16"; protected static cl: CommerceLayerClient; static get(config?: CommerceLayerInitConfig): CommerceLayerClient; protected constructor(config: CommerceLayerInitConfig); get currentOrganization(): string; get currentAccessToken(): string; private get interceptors(); private localConfig; config(config: CommerceLayerConfig): this; resources(sort?: boolean): readonly string[]; isApiError(error: any): error is ApiError; addRequestInterceptor(onSuccess?: RequestInterceptor, onFailure?: ErrorInterceptor): number; addResponseInterceptor(onSuccess?: ResponseInterceptor, onFailure?: ErrorInterceptor): number; removeInterceptor(type: InterceptorType, _id?: number): void; removeInterceptors(): void; addRawResponseReader(options?: { headers: boolean; }): RawResponseReader; removeRawResponseReader(): void; } declare const CommerceLayer: (config: CommerceLayerInitConfig) => CommerceLayerClient; export { CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, OPEN_API_SCHEMA_VERSION, CommerceLayer as default };