export type ResourceItem = { name: string; location: string; swaggerVersion: string; url: string; }; export type Options = { init?: boolean; config?: string[]; }; export type Schema = { $ref?: string; }; export declare function isSchema(obj: any): obj is Schema; export type Type = 'integer' | 'number' | 'boolean' | 'string' | 'object' | 'array'; export type Method = 'get' | 'post' | 'delete' | 'patch' | 'put'; export type Tag = { name: string; description: string; }; export type InterfaceOrType = string; export type ParamItem = { name: string; type: Type; required: boolean; description: string; children?: ParamItem | ParamItem[] | InterfaceOrType; }; export type FieldItem = { name: string; required: boolean; type: Type; description: string; items?: FieldItem & Schema; in?: 'query' | 'body' | 'path'; schema?: Schema; additionalProperties?: FieldItem; } & Schema; export type ApiConfig = { tags: string[]; operationId: string; summary: string; parameters?: FieldItem[]; responses: Record; }; export type PathFlat = [string, Method, ApiConfig]; export type Definition = { type: Type; properties: Record; }; export type ResourceDetail = { swagger: string; info: { description: string; version: string; title: string; }; host: string; basePath: string; tags: Tag[]; paths: Record>; definitions: Record; };