import type { BatchOperation, ConditionalBatchCondition } from '../../storage/interface.ts'; import type { WorkflowConcurrencyOptions } from '../types.ts'; import type { EngineInternals } from './internals.ts'; export type WorkflowConcurrencyStartOperations = { stateKey: string; operations: BatchOperation[]; conditions: ConditionalBatchCondition[]; }; export declare function buildWorkflowConcurrencyStartOperations(internals: EngineInternals, workflowType: string, workflowId: string, input: unknown, concurrency: WorkflowConcurrencyOptions): Promise; export declare function releaseWorkflowConcurrencySlot(internals: EngineInternals, workflowId: string): Promise;