1 | import { ComponentPublicInstance, ComponentOptions, VNode } from 'vue';
|
2 | interface ClassComponentHooks {
|
3 | }
|
4 | declare type VueStatic = {
|
5 | [K in keyof typeof Vue]: (typeof Vue)[K];
|
6 | };
|
7 | export declare type VueMixin<V extends Vue = Vue> = VueStatic & {
|
8 | prototype: V;
|
9 | };
|
10 | export declare type VueBase<V extends Vue = Vue> = VueMixin<V> & (new (...args: any[]) => V);
|
11 | export declare class Vue<Props = unknown> implements ComponentPublicInstance<{}, {}, {}, {}, {}, {}, Props>, ClassComponentHooks {
|
12 | /** @internal */
|
13 | static __vccCache?: ComponentOptions;
|
14 | /** @internal */
|
15 | static __vccBase?: ComponentOptions;
|
16 | /** @internal */
|
17 | static __vccDecorators?: ((options: ComponentOptions) => void)[];
|
18 | /** @internal */
|
19 | static __vccMixins?: ComponentOptions[];
|
20 | /** @internal */
|
21 | static __vccHooks: string[];
|
22 | /** @internal */
|
23 | static get __vccOpts(): ComponentOptions;
|
24 | static registerHooks(keys: string[]): void;
|
25 | $: ComponentPublicInstance['$'];
|
26 | $data: ComponentPublicInstance['$data'];
|
27 | $attrs: ComponentPublicInstance['$attrs'];
|
28 | $refs: ComponentPublicInstance['$refs'];
|
29 | $slots: ComponentPublicInstance['$slots'];
|
30 | $root: ComponentPublicInstance['$root'];
|
31 | $parent: ComponentPublicInstance['$parent'];
|
32 | $emit: ComponentPublicInstance['$emit'];
|
33 | $el: ComponentPublicInstance['$el'];
|
34 | $options: ComponentPublicInstance['$options'];
|
35 | $forceUpdate: ComponentPublicInstance['$forceUpdate'];
|
36 | $nextTick: ComponentPublicInstance['$nextTick'];
|
37 | $watch: ComponentPublicInstance['$watch'];
|
38 | $props: Props;
|
39 | data?(): object;
|
40 | beforeCreate?(): void;
|
41 | created?(): void;
|
42 | beforeMount?(): void;
|
43 | mounted?(): void;
|
44 | beforeUnmount?(): void;
|
45 | unmounted?(): void;
|
46 | beforeUpdate?(): void;
|
47 | updated?(): void;
|
48 | activated?(): void;
|
49 | deactivated?(): void;
|
50 | render?(): VNode | void;
|
51 | errorCaptured?(err: Error, vm: Vue, info: string): boolean | undefined;
|
52 | serverPrefetch?(): Promise<unknown>;
|
53 | static render?: () => VNode | void;
|
54 | static __file?: string;
|
55 | static __cssModules?: Record<string, any>;
|
56 | static __scopeId?: string;
|
57 | constructor(props: Props);
|
58 | }
|
59 | export {};
|