import { utils } from 'ethers'; import { Omit, PartialRequired } from '../types/common'; export declare type Message = MessageCore & PaymentOptions; export declare type SignedMessage = MessageCore & SignedMessagePaymentOptions & { signature: string; }; export declare enum OperationType { call = 0, externalCall = 1 } export declare type MessageCore = { to: string; from: string; nonce: string | number; data: utils.Arrayish; value: utils.BigNumberish; operationType: OperationType; }; export declare type PaymentOptions = { gasLimit: utils.BigNumberish; gasPrice: utils.BigNumberish; gasToken: string; refundReceiver: string; }; export declare type ExecutionOptions = { gasPrice: utils.BigNumberish; gasLimit?: utils.BigNumberish; gasToken?: string; nonce?: string | number; }; export declare type SdkExecutionOptions = ExecutionOptions & Required>; export declare type SignedMessagePaymentOptions = { safeTxGas: utils.BigNumberish; baseGas: utils.BigNumberish; gasPrice: utils.BigNumberish; gasToken: string; refundReceiver: string; }; export declare type UnsignedMessage = Omit; export declare type MessageStatus = { messageHash: string; error?: string; transactionHash?: string; collectedSignatures: string[]; totalCollected: number; required: number; state: MessageState; }; export declare type DeploymentStatus = { deploymentHash: string; error: string | null; transactionHash: string | null; state: DeploymentState; }; export declare type MessageWithFrom = PartialRequired; export declare type MessageWithoutFrom = Omit; export declare type DeploymentState = 'Queued' | 'Pending' | 'Error' | 'Success'; export declare type MessageState = 'AwaitSignature' | DeploymentState; export declare type MineableState = DeploymentState | MessageState; export declare type MineableStatus = MessageStatus | DeploymentStatus; export declare type CollectedSignatureKeyPair = { key: string; signature: string; }; export declare type DecodedMessage = Omit; export declare type DecodedMessageGnosis = Omit; export interface DecodedMessageWithFrom extends DecodedMessage { from: string; } //# sourceMappingURL=message.d.ts.map