export interface PrintFile { filePath: string; filePathType: 'local' | 'remote'; fileType: 'image' | 'pdf'; } export interface Result { success: boolean; } declare function printFile(params: PrintFile): Promise; declare namespace printFile { var version: { android: string; }; } export default printFile;