import { IApiEndpoint } from "./types/api"; import { Target } from "./types/api/request/target.enum"; import { IConstructorParams } from "./types/api/request/contructor-params.interface"; import { IRequestParams } from "./types/api/request/request-params.interface"; export declare class ApiRequest { target: Target; accessToken: string; endpoint: IApiEndpoint; urlPrefix: string; readonly targetCustomer: { id: string | null; once: boolean; }; constructor(params: IConstructorParams); get targetCustomerId(): string; setTargetCustomer(customerId: string | null): void; setTargetCustomerOnce(customerId: string): void; get(url: string, params?: IRequestParams): Promise; post(url: string, params?: IRequestParams): Promise; put(url: string, params?: IRequestParams): Promise; patch(url: string, params?: IRequestParams): Promise; delete(url: string, params?: IRequestParams): Promise; }