import { IDisposable } from '@stoplight/lifecycle'; import { Resolver } from '@stoplight/json-ref-resolver'; import { IdGenerator, IGraph, Specs } from './graph'; import { INotifier } from './notifier'; import { IScheduler } from './scheduler'; import { IGraphite, IGraphitePlugin } 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; private _disposables; constructor(props: IGraphiteProps); registerPlugins(...plugins: IGraphitePlugin[]): IDisposable; dispose: () => void; private scheduleTransformations; private scheduleDeserialize; private scheduleSerialize; private scheduleComputeSourceMap; private scheduleResolveSourceNode; private scheduleValidateSourceNode; } export {};