import type { DeploymentLoader } from "./deployment-loader/types.js"; import type { JsonRpcClient } from "./execution/jsonrpc-client.js"; import type { ArtifactResolver } from "../types/artifact.js"; import type { DeployConfig, DeploymentParameters, DeploymentResult } from "../types/deploy.js"; import type { ExecutionEventListener } from "../types/execution-events.js"; import type { IgnitionModule, IgnitionModuleResult } from "../types/module.js"; import type { ExecutionStrategy } from "./execution/types/execution-strategy.js"; /** * Run an Igntition deployment. */ export declare class Deployer { private readonly _config; private readonly _deploymentDir; private readonly _executionStrategy; private readonly _jsonRpcClient; private readonly _artifactResolver; private readonly _deploymentLoader; private readonly _executionEventListener?; constructor(_config: DeployConfig, _deploymentDir: string | undefined, _executionStrategy: ExecutionStrategy, _jsonRpcClient: JsonRpcClient, _artifactResolver: ArtifactResolver, _deploymentLoader: DeploymentLoader, _executionEventListener?: ExecutionEventListener | undefined); deploy>(ignitionModule: IgnitionModule, deploymentParameters: DeploymentParameters, accounts: string[], defaultSender: string): Promise; private _getDeploymentResult; /** * Fetches the existing deployment state or initializes a new one. * * @returns An object with the deployment state and a boolean indicating * if the deployment is being resumed (i.e. the deployment state is not * new). */ private _getOrInitializeDeploymentState; private _emitDeploymentStartEvent; private _emitReconciliationWarningsEvent; private _emitDeploymentBatchEvent; private _emitRunStartEvent; private _emitDeploymentCompleteEvent; private _isSuccessful; private _getExecutionErrorResult; /** * Determine if an execution run is necessary. * * @param batches - the batches to be executed * @returns if there are batches to be executed */ private _hasBatchesToExecute; } //# sourceMappingURL=deployer.d.ts.map