choose-image.d.ts 381 B

12345678910111213141516
  1. type Files = {
  2. size: number;
  3. path: string;
  4. }[];
  5. export interface ChooseImageResult {
  6. tempFiles: Files;
  7. apFilePaths?: Files;
  8. filePaths?: Files;
  9. tempFilePaths?: Files;
  10. }
  11. export interface ChooseImageOptions {
  12. count: number;
  13. sourceType: string[];
  14. }
  15. export declare const chooseImage: (args?: ChooseImageOptions) => Promise<ChooseImageResult>;
  16. export {};