/**
 * Copyright (c) Microblink Ltd. All rights reserved.
 */
import { ApiService, HttpResponse, RequestPayload } from "./data-structures";
export declare const CloudMessages: {
    API_ROLE_IS_NOT_FOUND: string;
    AUTHORIZATION_HEADER_IS_NOT_VALID: string;
    BAD_REQUEST: string;
    FORBIDDEN_RECOGNIZER: string;
    IMAGE_IS_NOT_ABLE_TO_CONVERT_TO_RAW_PIXELS: string;
    IMAGE_IS_NOT_VALID: string;
    IMAGE_IS_NOT_VALID_BASE64_STRING: string;
    IMAGE_SIZE_IS_TOO_BIG: string;
    INSUFFICIENT_BALANCE: string;
    INTERNAL_SERVER_ERROR: string;
    INVALID_LICENSE_KEY: string;
    NOT_ALLOWED_TO_EXECUTE_REQUESTED_RECOGNIZER: string;
    SERVER_CANCELED_REQUEST: string;
    SERVER_TOO_BUSY: string;
};
export declare class ServiceCloud implements ApiService {
    private apiLocation;
    private healthcheckEndpoint;
    private headers;
    constructor(apiLocation: string, healthcheckEndpoint: string, headers: {
        [key: string]: string;
    });
    getHealthcheckResponse(): Promise<HttpResponse>;
    recognize(endpoint: string, payload: RequestPayload, method?: string): Promise<HttpResponse>;
}
