export interface MPosControllerBase {
    selectInterface: (interfaceType: number, adddress: string) => Promise<number>;
    selectCommandMode: (commandMode: number) => Promise<number>;
    openService: (deviceid: number, timeout: number) => Promise<number>;
    closeService: (timeout: number) => Promise<number>;
    isOpen: () => Promise<number>;
    getDeviceId: () => Promise<number>;
    directIO: (data: Array<number>) => Promise<number>;
    setTransaction: (mode: number) => Promise<number>;
    setReadMode: (mode: number) => Promise<number>;
    setKeepNetworkConnection(mode: number): Promise<number>;
    getSDKVersion(): Promise<string>;
}