import { AxiosInstance } from 'axios'; import { ChargeRequestBody, CheckoutProfileRequest, TokenRequest, TokenResponse } from '../@types'; import { ExtendableObject } from '../@types/tsUtils'; export type CheckoutServiceConfig = { rsaMWPublicKey: string; sdkName: string; baseURL?: string; }; export declare class CheckoutService { private config; protected axiosInstance: AxiosInstance; constructor(config: CheckoutServiceConfig); getAxiosGlobalHeaders(): { [x: string]: import("axios").AxiosHeaderValue | undefined; Accept?: import("axios").AxiosHeaderValue | undefined; "Content-Length"?: import("axios").AxiosHeaderValue | undefined; "User-Agent"?: import("axios").AxiosHeaderValue | undefined; "Content-Encoding"?: import("axios").AxiosHeaderValue | undefined; Authorization?: import("axios").AxiosHeaderValue | undefined; 'Content-Type'?: import("axios").AxiosHeaderValue | undefined; }; setAxiosGlobalHeaders(headers: { [key in string]?: string; }): void; setHttpHeadersWithEncryption({ locale, pk, domain }: { locale: string; pk: string; domain: string; }): Promise; setHttpHeaders(headers: Partial>): Promise; charge(request: ChargeRequestBody): Promise; getChargeById(id: string): Promise; authorize(request: ChargeRequestBody): Promise; getAuthorizeById(id: string): Promise; tokenize(body: TokenRequest): Promise; checkoutProfile(request: CheckoutProfileRequest): Promise; }