UNPKG

667 BTypeScriptView Raw
1import { INodeSelector, ISourceMapNodeInstance, ISourceNodeInstance } from '../../graph';
2import { GraphiteStatelessPlugin, ISourceMapPlugin, ISpecContentProvider } from '../../types';
3export * from './types';
4export declare const oas2NodeSelector: INodeSelector<ISourceNodeInstance>['selector'];
5export declare const oas2PathsSelector: INodeSelector<ISourceMapNodeInstance>['selector'];
6export declare const oas2OperationSelector: INodeSelector<ISourceMapNodeInstance>['selector'];
7export declare const isOas2: (parsed: unknown) => boolean;
8export declare function createOas2Plugin(sourceMapPlugin?: ISourceMapPlugin): GraphiteStatelessPlugin<ISpecContentProvider>;