/** * Copyright (c) Microblink Ltd. All rights reserved. */ import { ApiService, HttpResponse, RequestPayload } from "./data-structures"; export declare const SelfHostedMessages: { 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; 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 ServiceSelfHosted implements ApiService { private apiLocation; private healthcheckEndpoint; private headers; constructor(apiLocation: string, healthcheckEndpoint: string, headers: { [key: string]: string; }); getHealthcheckResponse(): Promise; recognize(endpoint: string, payload: RequestPayload, method?: string): Promise; }