import { WorkflowRouter } from "./WorkflowRouter"; import { NextApplicationSettings } from "../NextApplicationSettings"; interface DbWorkflowRouter { id: string; name: string; path: string; enabled: boolean; description?: string; version?: string; } interface DbWorkflowRoute { id: string; routerId: string; path: string; methods: string[]; summary?: string; description?: string; tags?: string; isDeprecated: boolean; enabled: boolean; version?: string; } interface DbWorkflowAction { id: string; routeId: string; type: string; order: number; config: any; enabled: boolean; } interface WorkflowVersionInfo { id: string; routerId?: string; routeId?: string; actionId?: string; version: string; entity_type: 'router' | 'route' | 'action'; config: any; created_at: Date; } export declare class DynamicWorkflowLoader { private settings; dbPlugin: any; private initialized; private routers; private routes; private versionInfo; private metricsEnabled; constructor(settings: NextApplicationSettings); initialize(): Promise; isInitialized(): boolean; getRouters(): WorkflowRouter[]; private loadRouters; private loadRoutes; private loadActions; private createAction; private parseEnumValue; private createIfAction; private createValidateAction; private createRetryAction; private createTransformAction; private createParallelAction; private createSwitchAction; private parseActionBuilder; private createDynamicFunction; private createWhereFunction; private buildYupSchema; saveWorkflowRouter(router: DbWorkflowRouter): Promise; saveWorkflowRoute(route: DbWorkflowRoute): Promise; saveWorkflowAction(action: DbWorkflowAction): Promise; deleteWorkflowRouter(routerId: string): Promise; deleteWorkflowRoute(routeId: string): Promise; deleteWorkflowAction(actionId: string): Promise; private saveEntityVersion; private getTableForEntityType; private getRouteByActionId; private refreshRouter; private refreshRoutesForRouter; private refreshActionsForRoute; private loadVersionHistory; private getVersionData; getEntityVersions(entityType: 'router' | 'route' | 'action', entityId: string): WorkflowVersionInfo[]; restoreVersion(versionId: string): Promise; private snakeToCamel; private generateUuid; private refreshRoute; getRouteMetrics(routeId: string): Promise; getAllRouteMetrics(): Promise; resetRouteMetrics(routeId: string): Promise; resetAllMetrics(): Promise; } export {}; //# sourceMappingURL=DynamicWorkflowLoader.d.ts.map