/** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License. * For more information, please refer to: https://www.nocobase.com/agreement. */ import type { ResourcerContext } from '@nocobase/resourcer'; import PluginUISchemaStorageServer from './server'; import { JSONValue } from './template/resolver'; export declare class PluginFlowEngineServer extends PluginUISchemaStorageServer { private recordSlotResolverDisposers; afterAdd(): Promise; beforeLoad(): Promise; getDatabaseByDataSourceKey(dataSourceKey?: string): import("@nocobase/database").default; runSQLByDataSourceKey(dataSourceKey: string | undefined, sql: string, options?: Record): Promise; resolveFlowModelVariablesTemplate(ctx: ResourcerContext, options: { contractRd?: string | number; contextParams?: Record; rd?: string | number; template: JSONValue; }): Promise; isLegacyVariableTemplateSafe(template: JSONValue): boolean; load(): Promise; install(): Promise; afterEnable(): Promise; afterDisable(): Promise; remove(): Promise; private disposeRecordSlotResolvers; private registerRecordSlotResolvers; private ensureRecordSlotResolvers; } export default PluginFlowEngineServer;