Brak opisu

utils-b800dc99.d.ts 773B

123456789101112131415161718
  1. declare const IMAGE_PROCESS = "?x-oss-process=image/resize,h_350";
  2. declare const IMAGE_PROCESS_SMALL = "?x-oss-process=image/resize,h_100";
  3. declare const IMAGE_PROCESS_LARGE = "?x-oss-process=image/resize,h_500";
  4. interface AddImageProcessOptions {
  5. small?: boolean;
  6. large?: boolean;
  7. custom?: boolean;
  8. width?: string;
  9. height?: string;
  10. }
  11. declare function addImageProcess(url: string, options?: AddImageProcessOptions): string;
  12. declare function formatMoney(input: any, fuzz?: number): any;
  13. type classSize = 'small' | 'normal' | 'large';
  14. declare function exportStyleSizeClass(styles: any, size: classSize): {
  15. [x: number]: boolean;
  16. };
  17. export { IMAGE_PROCESS, IMAGE_PROCESS_SMALL, IMAGE_PROCESS_LARGE, addImageProcess, formatMoney, exportStyleSizeClass };