declare global { const __VLS_directiveBindingRestFields: { instance: null; oldValue: null; modifiers: any; dir: any }; type __VLS_Elements = __VLS_SpreadMerge; type __VLS_IsAny = 0 extends 1 & T ? true : false; type __VLS_PickNotAny = __VLS_IsAny extends true ? B : A; type __VLS_SpreadMerge = Omit & B; type __VLS_WithComponent< N0 extends string, LocalComponents, GlobalComponents, Self, N1 extends string, N2 extends string = N1, N3 extends string = N1, > = N1 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N1] } : N2 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N2] } : N3 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N3] } : Self extends object ? { [K in N0]: Self } : N1 extends keyof GlobalComponents ? { [K in N0]: GlobalComponents[N1] } : N2 extends keyof GlobalComponents ? { [K in N0]: GlobalComponents[N2] } : N3 extends keyof GlobalComponents ? { [K in N0]: GlobalComponents[N3] } : {}; type __VLS_FunctionalComponentCtx = __VLS_PickNotAny< '__ctx' extends keyof __VLS_PickNotAny ? K extends { __ctx?: infer Ctx } ? NonNullable : never : any, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any >; type __VLS_FunctionalComponentProps = '__ctx' extends keyof __VLS_PickNotAny ? K extends { __ctx?: { props?: infer P } } ? NonNullable

: never : T extends (props: infer P, ...args: any) => any ? P : {}; type __VLS_FunctionalComponent0 = (props: T extends { $props: infer Props } ? Props : {}, ctx?: any) => { __ctx?: { attrs?: any; slots?: T extends { $slots: infer Slots } ? Slots : Record; emit?: T extends { $emit: infer Emit } ? Emit : {}; props?: typeof props; expose?: (exposed: T) => void; }; }; type __VLS_FunctionalComponent1 = ( props: (T extends { $props: infer Props } ? Props : {}) & Record, ctx?: any, ) => { __ctx?: { attrs?: any; slots?: T extends { $slots: infer Slots } ? Slots : Record; emit?: T extends { $emit: infer Emit } ? Emit : {}; props?: typeof props; expose?: (exposed: T) => void; }; }; type __VLS_IsFunction = K extends keyof T ? __VLS_IsAny extends false ? unknown extends T[K] ? false : true : false : false; type __VLS_NormalizeComponentEvent< Props, Emits, onEvent extends keyof Props, Event extends keyof Emits, CamelizedEvent extends keyof Emits, > = __VLS_IsFunction extends true ? Props : __VLS_IsFunction extends true ? { [K in onEvent]?: Emits[Event] } : __VLS_IsFunction extends true ? { [K in onEvent]?: Emits[CamelizedEvent] } : Props; // fix https://github.com/vuejs/language-tools/issues/926 type __VLS_UnionToIntersection = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never; type __VLS_OverloadUnionInner = U & T extends (...args: infer A) => infer R ? U extends T ? never : __VLS_OverloadUnionInner & U & ((...args: A) => R)> | ((...args: A) => R) : never; type __VLS_OverloadUnion = Exclude< __VLS_OverloadUnionInner<(() => never) & T>, T extends () => never ? never : () => never >; type __VLS_ConstructorOverloads = __VLS_OverloadUnion extends infer F ? F extends (event: infer E, ...args: infer A) => any ? { [K in E & string]: (...args: A) => void } : never : never; type __VLS_NormalizeEmits = __VLS_PrettifyGlobal< __VLS_UnionToIntersection< & __VLS_ConstructorOverloads & { [K in keyof T]: T[K] extends any[] ? { (...args: T[K]): void } : never; } > >; type __VLS_EmitsToProps = __VLS_PrettifyGlobal< { [K in string & keyof T as `on${Capitalize}`]?: ( ...args: T[K] extends (...args: infer P) => any ? P : T[K] extends null ? any[] : never ) => any; } >; type __VLS_ShortEmits> = __VLS_UnionToIntersection< { [K in keyof E]: (event: K, ...args: E[K]) => void }[keyof E] >; type __VLS_ShortEmitsToObject = E extends Record ? { [K in keyof E]: (...args: E[K]) => any } : E; type __VLS_ResolveEmits< Comp, Emits, TypeEmits = Comp extends { __typeEmits?: infer T } ? unknown extends T ? {} : __VLS_ShortEmitsToObject : {}, NormalizedEmits = __VLS_NormalizeEmits extends infer E ? string extends keyof E ? {} : E : never, > = __VLS_SpreadMerge; type __VLS_ResolveDirectives = { [K in keyof T & string as `v${Capitalize}`]: T[K]; }; type __VLS_PrettifyGlobal = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; function __VLS_vFor(source: T): T extends number ? [number, number][] : T extends string ? [string, number][] : T extends readonly (infer U)[] ? [U, number][] : T extends Iterable ? [V, number][] : [T[keyof T], keyof T extends string ? keyof T : `${keyof T & (string | number)}`, number][]; function __VLS_vSlot(slot: S, decl?: D): D extends (...args: infer P) => any ? P : any[]; function __VLS_asFunctionalDirective( dir: T, od: ObjectDirective, ): T extends ObjectDirective ? NonNullable< T[keyof T & ('created' | 'beforeMount' | 'mounted' | 'beforeUpdate' | 'updated' | 'beforeUnmount' | 'unmounted')] > : T extends (...args: any) => any ? T : (arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown) => void; function __VLS_asFunctionalComponent0 any ? InstanceType : unknown>( t: T, instance?: K, ): T extends new(...args: any) => any ? __VLS_FunctionalComponent0 : T extends () => any ? (props: {}, ctx?: any) => ReturnType : T extends (...args: any) => any ? T : __VLS_FunctionalComponent0<{}>; function __VLS_asFunctionalComponent1 any ? InstanceType : unknown>( t: T, instance?: K, ): T extends new(...args: any) => any ? __VLS_FunctionalComponent1 : T extends () => any ? (props: {}, ctx?: any) => ReturnType : T extends (...args: any) => any ? T : __VLS_FunctionalComponent1<{}>; function __VLS_functionalComponentArgsRest any>( t: T, ): 2 extends Parameters['length'] ? [any] : []; function __VLS_asFunctionalElement0(tag: T, endTag?: T): (attrs: T) => void; function __VLS_asFunctionalElement1(tag: T, endTag?: T): (attrs: T & Record) => void; function __VLS_asFunctionalSlot(slot: S): S extends () => infer R ? (props: {}) => R : NonNullable; function __VLS_tryAsConstant(t: T): T; } export {};