import type { Abi } from "@polkadot/api-contract/Abi"; import { CodeSubmittableResult } from "@polkadot/api-contract/base"; import { CodePromise } from "@polkadot/api-contract/promise"; import type { ApiPromise } from "@polkadot/api/promise/Api"; import type { SubmittableExtrinsic } from "@polkadot/api/types"; import type { KeyringPair } from "@polkadot/keyring/types"; import { LogLevel } from "@prosopo/common"; import type { TransactionQueue } from "@prosopo/tx"; import type { UseWeight } from "@prosopo/types"; interface DryRunResult { contract: null | SubmittableExtrinsic<"promise">; error: null | string; } export declare class ContractDeployer { private api; private abi; private wasm; private readonly code; private readonly pair; private readonly params; private readonly constructorIndex; private readonly value; private readonly logger; private readonly salt; private readonly transactionQueue; constructor(api: ApiPromise, abi: Abi, wasm: Uint8Array, pair: KeyringPair, params?: any[], value?: number, constructorIndex?: number, salt?: string, logLevel?: LogLevel, transactionQueue?: TransactionQueue); deploy(): Promise>; } export declare function dryRunDeploy(code: CodePromise, api: ApiPromise, contractAbi: Abi, wasm: Uint8Array, pair: KeyringPair, params: any[], value: number, weight: UseWeight, constructorIndex?: number, salt?: string, logLevel?: LogLevel): Promise; export {}; //# sourceMappingURL=deploy.d.ts.map