import { Resolver } from '@stoplight/json-ref-resolver'; import { Dictionary } from '@stoplight/types'; import { IdGenerator, IGraph, Specs } from './graph'; import { INotifier } from './notifier'; import { IScheduler } from './scheduler'; import { PluginRegistry } from './services/pluginRegistry'; import { SpecProviderRegistry } from './services/specProviderRegistry'; import { GraphiteLifecyclePlugin, GraphitePaths, GraphiteStatelessPlugin, IGraphite } from './types'; export interface IGraphiteProps { id?: string; graph?: IGraph; notifier?: INotifier; scheduler?: IScheduler; idGenerator?: IdGenerator; isMirror?: boolean; resolveEagerly?: boolean | Specs[]; } export declare function createGraphite(props?: IGraphiteProps): Graphite; declare class Graphite implements IGraphite { readonly id: string; readonly graph: IGraph; readonly notifier: INotifier; readonly scheduler: IScheduler; readonly resolver: Resolver; paths?: Dictionary; readonly specRegistry: SpecProviderRegistry; readonly plugins: PluginRegistry; private _disposables; constructor(props: IGraphiteProps); registerPlugins(...plugins: Array): Promise; dispose: () => void; private scheduleTransformations; private scheduleDeserialize; private scheduleSerialize; private scheduleComputeSourceMap; private scheduleResolveSourceNode; private scheduleValidateSourceNode; } export {};