/** * Importing npm packages */ import { FlowDefinition, FlowManager } from './flow-manager.js'; /** * Declaring the constants */ export declare class FlowRegistry { private readonly flows; register(definition: FlowDefinition): this; registerAll(definitions: FlowDefinition[]): this; unregister(flowName: string): boolean; clear(): void; has(flowName: string): boolean; get = Record>(flowName: string): FlowDefinition; getRegisteredFlows(): string[]; create = Record>(flowName: string, initialContext?: Context): FlowManager; restore = Record>(snapshot: string): FlowManager; getFlowName(snapshot: string): string; }