import type { Artifact } from "../types/artifact.js"; import type { AccountRuntimeValue, AddressResolvableFuture, ArgumentType, ContractAtFuture, ContractDeploymentFuture, LibraryDeploymentFuture, ContractFuture, Future, IgnitionModule, IgnitionModuleResult, ModuleParameterRuntimeValue, ModuleParameterType, NamedArtifactContractAtFuture, ContractCallFuture, NamedArtifactContractDeploymentFuture, NamedArtifactLibraryDeploymentFuture, StaticCallFuture, ReadEventArgumentFuture, SendDataFuture, EncodeFunctionCallFuture } from "../types/module.js"; import { FutureType, RuntimeValueType } from "../types/module.js"; declare abstract class BaseFutureImplementation { readonly id: string; readonly type: FutureTypeT; readonly module: IgnitionModuleImplementation; readonly dependencies: Set; constructor(id: string, type: FutureTypeT, module: IgnitionModuleImplementation); } export declare class NamedContractDeploymentFutureImplementation extends BaseFutureImplementation implements NamedArtifactContractDeploymentFuture { readonly id: string; readonly module: IgnitionModuleImplementation; readonly contractName: ContractNameT; readonly constructorArgs: ArgumentType[]; readonly libraries: Record>; readonly value: bigint | ModuleParameterRuntimeValue | StaticCallFuture | ReadEventArgumentFuture; readonly from: string | AccountRuntimeValue | undefined; constructor(id: string, module: IgnitionModuleImplementation, contractName: ContractNameT, constructorArgs: ArgumentType[], libraries: Record>, value: bigint | ModuleParameterRuntimeValue | StaticCallFuture | ReadEventArgumentFuture, from: string | AccountRuntimeValue | undefined); } export declare class ArtifactContractDeploymentFutureImplementation extends BaseFutureImplementation implements ContractDeploymentFuture { readonly id: string; readonly module: IgnitionModuleImplementation; readonly contractName: ContractNameT; readonly constructorArgs: ArgumentType[]; readonly artifact: Artifact; readonly libraries: Record>; readonly value: bigint | ModuleParameterRuntimeValue | StaticCallFuture | ReadEventArgumentFuture; readonly from: string | AccountRuntimeValue | undefined; constructor(id: string, module: IgnitionModuleImplementation, contractName: ContractNameT, constructorArgs: ArgumentType[], artifact: Artifact, libraries: Record>, value: bigint | ModuleParameterRuntimeValue | StaticCallFuture | ReadEventArgumentFuture, from: string | AccountRuntimeValue | undefined); } export declare class NamedLibraryDeploymentFutureImplementation extends BaseFutureImplementation implements NamedArtifactLibraryDeploymentFuture { readonly id: string; readonly module: IgnitionModuleImplementation; readonly contractName: LibraryNameT; readonly libraries: Record>; readonly from: string | AccountRuntimeValue | undefined; constructor(id: string, module: IgnitionModuleImplementation, contractName: LibraryNameT, libraries: Record>, from: string | AccountRuntimeValue | undefined); } export declare class ArtifactLibraryDeploymentFutureImplementation extends BaseFutureImplementation implements LibraryDeploymentFuture { readonly id: string; readonly module: IgnitionModuleImplementation; readonly contractName: LibraryNameT; readonly artifact: Artifact; readonly libraries: Record>; readonly from: string | AccountRuntimeValue | undefined; constructor(id: string, module: IgnitionModuleImplementation, contractName: LibraryNameT, artifact: Artifact, libraries: Record>, from: string | AccountRuntimeValue | undefined); } export declare class NamedContractCallFutureImplementation extends BaseFutureImplementation implements ContractCallFuture { readonly id: string; readonly module: IgnitionModuleImplementation; readonly functionName: FunctionNameT; readonly contract: ContractFuture; readonly args: ArgumentType[]; readonly value: bigint | ModuleParameterRuntimeValue | StaticCallFuture | ReadEventArgumentFuture; readonly from: string | AccountRuntimeValue | undefined; constructor(id: string, module: IgnitionModuleImplementation, functionName: FunctionNameT, contract: ContractFuture, args: ArgumentType[], value: bigint | ModuleParameterRuntimeValue | StaticCallFuture | ReadEventArgumentFuture, from: string | AccountRuntimeValue | undefined); } export declare class NamedStaticCallFutureImplementation extends BaseFutureImplementation implements StaticCallFuture { readonly id: string; readonly module: IgnitionModuleImplementation; readonly functionName: FunctionNameT; readonly contract: ContractFuture; readonly args: ArgumentType[]; readonly nameOrIndex: string | number; readonly from: string | AccountRuntimeValue | undefined; constructor(id: string, module: IgnitionModuleImplementation, functionName: FunctionNameT, contract: ContractFuture, args: ArgumentType[], nameOrIndex: string | number, from: string | AccountRuntimeValue | undefined); } export declare class NamedEncodeFunctionCallFutureImplementation extends BaseFutureImplementation implements EncodeFunctionCallFuture { readonly id: string; readonly module: IgnitionModuleImplementation; readonly functionName: FunctionNameT; readonly contract: ContractFuture; readonly args: ArgumentType[]; constructor(id: string, module: IgnitionModuleImplementation, functionName: FunctionNameT, contract: ContractFuture, args: ArgumentType[]); } export declare class NamedContractAtFutureImplementation extends BaseFutureImplementation implements NamedArtifactContractAtFuture { readonly id: string; readonly module: IgnitionModuleImplementation; readonly contractName: ContractNameT; readonly address: string | AddressResolvableFuture | ModuleParameterRuntimeValue; constructor(id: string, module: IgnitionModuleImplementation, contractName: ContractNameT, address: string | AddressResolvableFuture | ModuleParameterRuntimeValue); } export declare class ArtifactContractAtFutureImplementation extends BaseFutureImplementation implements ContractAtFuture { readonly id: string; readonly module: IgnitionModuleImplementation; readonly contractName: string; readonly address: string | AddressResolvableFuture | ModuleParameterRuntimeValue; readonly artifact: Artifact; constructor(id: string, module: IgnitionModuleImplementation, contractName: string, address: string | AddressResolvableFuture | ModuleParameterRuntimeValue, artifact: Artifact); } export declare class ReadEventArgumentFutureImplementation extends BaseFutureImplementation implements ReadEventArgumentFuture { readonly id: string; readonly module: IgnitionModuleImplementation; readonly futureToReadFrom: NamedArtifactContractDeploymentFuture | ContractDeploymentFuture | SendDataFuture | ContractCallFuture; readonly eventName: string; readonly nameOrIndex: string | number; readonly emitter: ContractFuture; readonly eventIndex: number; constructor(id: string, module: IgnitionModuleImplementation, futureToReadFrom: NamedArtifactContractDeploymentFuture | ContractDeploymentFuture | SendDataFuture | ContractCallFuture, eventName: string, nameOrIndex: string | number, emitter: ContractFuture, eventIndex: number); } export declare class SendDataFutureImplementation extends BaseFutureImplementation implements SendDataFuture { readonly id: string; readonly module: IgnitionModuleImplementation; readonly to: string | AddressResolvableFuture | ModuleParameterRuntimeValue | AccountRuntimeValue; readonly value: bigint | ModuleParameterRuntimeValue; readonly data: string | EncodeFunctionCallFuture | undefined; readonly from: string | AccountRuntimeValue | undefined; constructor(id: string, module: IgnitionModuleImplementation, to: string | AddressResolvableFuture | ModuleParameterRuntimeValue | AccountRuntimeValue, value: bigint | ModuleParameterRuntimeValue, data: string | EncodeFunctionCallFuture | undefined, from: string | AccountRuntimeValue | undefined); } export declare class IgnitionModuleImplementation = IgnitionModuleResult> implements IgnitionModule { readonly id: ModuleIdT; readonly results: IgnitionModuleResultsT; readonly futures: Set; readonly submodules: Set; constructor(id: ModuleIdT, results: IgnitionModuleResultsT); } export declare class AccountRuntimeValueImplementation implements AccountRuntimeValue { readonly accountIndex: number; readonly type: RuntimeValueType.ACCOUNT; constructor(accountIndex: number); } export declare class ModuleParameterRuntimeValueImplementation implements ModuleParameterRuntimeValue { readonly moduleId: string; readonly name: string; readonly defaultValue: ParamTypeT | undefined; readonly type: RuntimeValueType.MODULE_PARAMETER; constructor(moduleId: string, name: string, defaultValue: ParamTypeT | undefined); } export {}; //# sourceMappingURL=module.d.ts.map