import { Promise } from 'es6-promise'; export declare type HttpMethod = 'POST' | 'PUT' | 'GET' | 'DELETE'; export interface ApiCallArgs { url: string; method: HttpMethod; headers?: any; payload?: any; jsonBody?: boolean; } export declare type imageType = 'FRONT' | 'BACK' | 'DETAILFRONT' | 'DETAILBACK' | 'MEDICATIONFRONT' | 'MEDICATIONBACK' | 'ALL'; export declare type grouping = 'byProduct' | 'byCheck'; export declare type extent = 'compact' | 'full'; export declare type checkType = 'allergySubstance' | 'allergyExcipient' | 'doping' | 'doubleMedication' | 'elderly' | 'interaction' | 'interactionFlycicleCH' | 'liverInsufficiency' | 'nutrition' | 'posology' | 'reproduction' | 'renalInsufficiency'; export interface check { check?: checkType; hideAbove?: number; } export interface hciCdsCheckRequest { medication: string; extent?: extent; grouping?: grouping; checks: check[]; } export interface hciQueryRequest { key: string; index?: string; keyType?: string; } export interface userCredentials { username: string; password: string; } export declare function hciQuery(requestParams: hciQueryRequest, credentials?: userCredentials): Promise; export declare function hciGetPicture(type: imageType, byPharmaCode?: string, byProdNo?: string): Promise<{}>; export declare function hciCdsCheck(requestParams: hciCdsCheckRequest): Promise; export declare function _checkLink(url: string): Promise<{}>; export declare function _apiCall(args: ApiCallArgs): Promise<{}>;