import { IHttpOperation, IHttpService, IHttpWebhookOperation, NodeType } from '@stoplight/types'; import { 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[]; } declare type Node = { type: T; uri: string; name: string; data: D; tags: string[]; }; export declare type ServiceNode = Node & { children: ServiceChildNode[]; }; export declare type ServiceChildNode = OperationNode | WebhookNode | SchemaNode; export declare type OperationNode = Node; export declare type WebhookNode = Node; export declare type SchemaNode = Node; export {};