printFile.d.ts 345 B

123456789101112131415
  1. export interface PrintFile {
  2. filePath: string;
  3. filePathType: 'local' | 'remote';
  4. fileType: 'image' | 'pdf';
  5. }
  6. export interface Result {
  7. success: boolean;
  8. }
  9. declare function printFile(params: PrintFile): Promise<Result>;
  10. declare namespace printFile {
  11. var version: {
  12. android: string;
  13. };
  14. }
  15. export default printFile;