5a9ab6d61318a0e81262ed11d3a1749513ccca35782ea680f292d84f8ec62b1cfc3f1e56d9ded7cd1f786c917989e38b43c76eca7924f83b687c163fceb1d8 550 B

12345678910
  1. import type { ComputedRef, Ref } from 'vue';
  2. import type { PanelItemState } from '../type';
  3. export declare function getPct(str: string): number;
  4. export declare function getPx(str: string): number;
  5. export declare function isPct(itemSize: string | number | undefined): itemSize is string;
  6. export declare function isPx(itemSize: string | number | undefined): itemSize is string;
  7. export declare function useSize(panels: Ref<PanelItemState[]>, containerSize: ComputedRef<number>): {
  8. percentSizes: Ref<number[]>;
  9. pxSizes: ComputedRef<number[]>;
  10. };