import type { IHttpOperation, IHttpService, IHttpWebhookOperation, NodeType } from '@stoplight/types'; import type { JSONSchema7 } from 'json-schema'; export declare enum NodeTypes { Paths = "paths", Path = "path", Operation = "operation", Webhooks = "webhooks", Webhook = "webhook", Components = "components", Models = "models", Model = "model" } export interface ISourceNodeMap { type: string; match?: string; notMatch?: string; children?: ISourceNodeMap[]; } export declare type Node = { type: T; uri: string; name: string; data: D; tags: string[]; }; export declare enum SpecVersion { OAS2 = "OAS 2.0", OAS3 = "OAS 3.0", OAS31 = "OAS 3.1", ASYNC = "ASYNC" } export declare type OperationNode = Node; export declare type WebhookNode = Node; export declare type SchemaNode = Node; export declare type ServiceChildNode = OperationNode | WebhookNode | SchemaNode; export declare type ServiceNode = Node & { children: ServiceChildNode[]; } & { specVersion: SpecVersion; };