countdown.d.ts 1.4 KB

1234567891011121314151617181920212223
  1. import type { ExtractPropTypes, StyleValue } from 'vue';
  2. import type { Dayjs } from 'dayjs';
  3. import type Countdown from './countdown.vue';
  4. export declare const countdownProps: {
  5. readonly format: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "HH:mm:ss", boolean>;
  6. readonly prefix: StringConstructor;
  7. readonly suffix: StringConstructor;
  8. readonly title: StringConstructor;
  9. readonly value: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number | Dayjs) | (() => number | Dayjs) | ((new (...args: any[]) => number | Dayjs) | (() => number | Dayjs))[], unknown, unknown, 0, boolean>;
  10. readonly valueStyle: {
  11. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown>>;
  12. readonly required: false;
  13. readonly validator: ((val: unknown) => boolean) | undefined;
  14. __epPropKey: true;
  15. };
  16. };
  17. export type CountdownProps = ExtractPropTypes<typeof countdownProps>;
  18. export declare const countdownEmits: {
  19. finish: () => boolean;
  20. change: (value: number) => boolean;
  21. };
  22. export type CountdownEmits = typeof countdownEmits;
  23. export type CountdownInstance = InstanceType<typeof Countdown> & unknown;