UNPKG

vitepress-openapi

Version:

Generate VitePress API Documentation from OpenAPI Specification.

64 lines (63 loc) 3.22 kB
import type { OperationSlot, PathsGroupView } from '../../types'; type __VLS_Slots = { [K in OperationSlot]?: (props: any) => any; }; declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ groups: { type: { (arrayLength: number): PathsGroupView[]; (...items: PathsGroupView[]): PathsGroupView[]; new (arrayLength: number): PathsGroupView[]; new (...items: PathsGroupView[]): PathsGroupView[]; isArray(arg: any): arg is any[]; readonly prototype: any[]; from<T>(arrayLike: ArrayLike<T>): T[]; from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; from<T>(iterable: Iterable<T> | ArrayLike<T>): T[]; from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; of<T>(...items: T[]): T[]; fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>; fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>; readonly [Symbol.species]: ArrayConstructor; }; required: true; }; hidePathsSummary: { type: BooleanConstructor; default: undefined; }; }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ groups: { type: { (arrayLength: number): PathsGroupView[]; (...items: PathsGroupView[]): PathsGroupView[]; new (arrayLength: number): PathsGroupView[]; new (...items: PathsGroupView[]): PathsGroupView[]; isArray(arg: any): arg is any[]; readonly prototype: any[]; from<T>(arrayLike: ArrayLike<T>): T[]; from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; from<T>(iterable: Iterable<T> | ArrayLike<T>): T[]; from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; of<T>(...items: T[]): T[]; fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>; fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>; readonly [Symbol.species]: ArrayConstructor; }; required: true; }; hidePathsSummary: { type: BooleanConstructor; default: undefined; }; }>> & Readonly<{}>, { hidePathsSummary: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };