vitepress-openapi
Version:
Generate VitePress API Documentation from OpenAPI Specification.
61 lines (60 loc) • 3.16 kB
TypeScript
import type { OperationSlot, PathsGroupView } from '../../types';
type __VLS_Slots = Record<string, OperationSlot>;
declare const __VLS_component: 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 _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};