import type { AuthoredWorkflowModules } from "#internal/workflow-bundle/builder-support.js"; import type { CompileAgentResult } from "#compiler/compile-agent.js"; import { type DevelopmentRuntimeArtifactsActivation, type DevelopmentRuntimeArtifactsSnapshot } from "#internal/nitro/dev-runtime-artifacts.js"; export interface DevelopmentGeneration extends DevelopmentRuntimeArtifactsSnapshot { readonly authoredWorkflowModules?: AuthoredWorkflowModules; readonly fingerprint: string; /** Identity of the authored sources the workflow driver and step registrations are built from. */ readonly workflowSourceFingerprint?: string; } export declare function stageDevelopmentGeneration(compileResult: CompileAgentResult): Promise; export declare function activateDevelopmentGeneration(input: { readonly appRoot: string; readonly generation: DevelopmentGeneration; readonly onRuntimePruned?: () => Promise; }): Promise; export declare function activateDevelopmentGenerationTransaction(input: { readonly appRoot: string; readonly generation: DevelopmentGeneration; readonly onRuntimePruned?: () => Promise; }): Promise; export declare function discardDevelopmentGeneration(generation: DevelopmentGeneration): Promise;