export function handleAuthenticationProblem(e: any): void; /** * Used as refreshFn for AuthRecovery. * Triggers a token refresh request using the /v1/user_token endpoint. * The refresh mechanism is based on the refresh token stored in the dedicated HTTP-only cookie. * * Should not be used outside of AuthRecovery and Corva UI. */ export function refreshToken(): Promise; /** * The post method is most-often utilized to **create** new resources. * @async * @param {string} path - path to resource. * @param {Object=} entity - API entity to create * @returns {Promise<*>} */ export function post(path: string, entity?: Object | undefined, requestOptions?: {}): Promise; export function getWithHeaders(path: any, queryParams?: {}, requestOptions?: {}): Promise<{ data: any; headers: any; }>; /** * The get method is used to **read** (or retrieve) a representation of a resource * @async * @param {string} path - path to resource. * @param {Object=} queryParams - Object with query params such as per_page, sort, asset_id, etc. * @param {Object=} requestOptions - Additional options for request. For example: apiUrl, signal etc. * @returns {Promise<*>} */ export function get(path: string, queryParams?: Object | undefined, requestOptions?: Object | undefined): Promise; export function getFile(path: any, queryParams?: {}, requestOptions?: {}): Promise; export function put(path: any, content: any, queryParams?: {}, requestOptions?: {}): Promise; export function patch(path: any, content: any, queryParams?: {}, requestOptions?: {}): Promise; export function del(path: any, queryParams?: {}, requestOptions?: {}): Promise; export function sendFormData(path: any, data: any, queryParams?: {}, requestOptions?: {}): Promise; export class APIException { constructor(response: any, json: any); status: any; statusText: any; message: any; errorBody: any; isAuthenticationProblem(): boolean; isTermsProblem(): boolean; isLoginProblem(): any; isLockedAccountProblem(): any; isInvalidVerificationCode(): any; isMissingVerificationCode(): any; } export const baseUrl: any; //# sourceMappingURL=apiCore.d.ts.map