import { ObservableLike } from '@dws/muster-observable'; import { Context, GraphAction, GraphNode, NodeDefinition, Scope } from './types/graph'; export declare type ContextValuesDefinitions = { [key: string]: NodeDefinition; }; export interface MusterResolveOptions { context?: ContextValuesDefinitions; raw?: boolean; } export declare class Muster { readonly debug: boolean; readonly version: string; readonly context: Context; disposeCallbacks: Array<() => void>; readonly graph: NodeDefinition; readonly scope: Scope; readonly transform?: (value: GraphNode) => Array; constructor(graph: NodeDefinition, options?: { context?: Context; debug?: boolean; scope?: Scope; transform?: (value: GraphNode) => Array; }); dispose(): void; resolve(target: NodeDefinition | GraphAction, options: { raw: true; } & Partial): ObservableLike & Promise; resolve(target: NodeDefinition | GraphAction, options?: { raw?: false; } & Partial): ObservableLike & Promise; }