UNPKG

2.62 kBTypeScriptView Raw
1import _RollingText from './RollingText';
2export declare const RollingText: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3 startNum: {
4 type: NumberConstructor;
5 default: number;
6 };
7 targetNum: NumberConstructor;
8 textList: {
9 type: import("vue").PropType<string[]>;
10 default: () => never[];
11 };
12 duration: {
13 type: NumberConstructor;
14 default: number;
15 };
16 autoStart: {
17 type: BooleanConstructor;
18 default: true;
19 };
20 direction: {
21 type: import("vue").PropType<import("./types").RollingTextDirection>;
22 default: import("./types").RollingTextDirection;
23 };
24 stopOrder: {
25 type: import("vue").PropType<import("./types").RollingTextStopOrder>;
26 default: import("./types").RollingTextStopOrder;
27 };
28 height: {
29 type: NumberConstructor;
30 default: number;
31 };
32}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33 startNum: {
34 type: NumberConstructor;
35 default: number;
36 };
37 targetNum: NumberConstructor;
38 textList: {
39 type: import("vue").PropType<string[]>;
40 default: () => never[];
41 };
42 duration: {
43 type: NumberConstructor;
44 default: number;
45 };
46 autoStart: {
47 type: BooleanConstructor;
48 default: true;
49 };
50 direction: {
51 type: import("vue").PropType<import("./types").RollingTextDirection>;
52 default: import("./types").RollingTextDirection;
53 };
54 stopOrder: {
55 type: import("vue").PropType<import("./types").RollingTextStopOrder>;
56 default: import("./types").RollingTextStopOrder;
57 };
58 height: {
59 type: NumberConstructor;
60 default: number;
61 };
62}>> & Readonly<{}>, {
63 height: number;
64 duration: number;
65 direction: import("./types").RollingTextDirection;
66 autoStart: boolean;
67 startNum: number;
68 textList: string[];
69 stopOrder: import("./types").RollingTextStopOrder;
70}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
71export default RollingText;
72export { rollingTextProps } from './RollingText';
73export type { RollingTextProps } from './RollingText';
74export type { RollingTextDirection, RollingTextInstance, RollingTextStopOrder, RollingTextThemeVars, } from './types';
75declare module 'vue' {
76 interface GlobalComponents {
77 VanRollingText: typeof _RollingText;
78 }
79}