UNPKG

1.63 kBTypeScriptView Raw
1export declare const CountDown: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 time: {
3 type: (NumberConstructor | StringConstructor)[];
4 default: number;
5 };
6 format: {
7 type: import("vue").PropType<string>;
8 default: string;
9 };
10 autoStart: {
11 type: BooleanConstructor;
12 default: true;
13 };
14 millisecond: BooleanConstructor;
15}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "finish")[], "change" | "finish", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16 time: {
17 type: (NumberConstructor | StringConstructor)[];
18 default: number;
19 };
20 format: {
21 type: import("vue").PropType<string>;
22 default: string;
23 };
24 autoStart: {
25 type: BooleanConstructor;
26 default: true;
27 };
28 millisecond: BooleanConstructor;
29}>> & Readonly<{
30 onChange?: ((...args: any[]) => any) | undefined;
31 onFinish?: ((...args: any[]) => any) | undefined;
32}>, {
33 time: string | number;
34 format: string;
35 autoStart: boolean;
36 millisecond: boolean;
37}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
38export default CountDown;
39export { countDownProps } from './CountDown';
40export type { CountDownProps } from './CountDown';
41export type { CountDownInstance, CountDownThemeVars, CountDownCurrentTime, } from './types';
42declare module 'vue' {
43 interface GlobalComponents {
44 VanCountDown: typeof CountDown;
45 }
46}
47
\No newline at end of file