export const processImage: (width: number, height: number, index: number, rotation: number, frameType: number, byteArray: Uint8Array, meta : string) => void;
export const loadModel: (content: ArrayBuffer, bundleId: string) => string;
export const config: (config: string) => void;
export const reset:() => void;
export const retry:(retryTimes: number) => void;
export const release:() => void;
export const setMessageListener: (fun: Function) => string;
export const buildVerifyData:(params : string) => void;
export const updateNativeStatus: (params : string, code: number) => void;
export const startCameraPreview: (surfaceId: string, previewMiniWidth: number, previewMiniHeight: number, isFront: boolean, popFrame: boolean) => string;

export const stopCameraPreview: () => string;

export const releaseCamera: () => void;

export const verifyConfig: (config: string) => void;

export const buildInitRequest: (config: string) => string;

export const buildRequest : (request : string) => string;

export const buildLogRequest : (request : string) => string;

export const repackResponse : (request : string) => string;

export const releaseVerifyConfig : (request : string) => string;

export const generateOSSUrl : (request : string) => string;

export const gzip : (content : string) => string;

export const unGzip : (content : Uint8Array) => string;

export const buildVerifyRequest: (config: string) => string;

export const buildOcrVerifyRequest: (config: string) => string;

export const updateNativeState: (stateCode: number, params: string) => string;