import { BigNumberish, Signer, TransactionResponse } from 'ethers'; export declare const EIP_DOMAIN: { EIP712Domain: { type: string; name: string; }[]; }; export declare const EIP712_SAFE_TX_TYPE: { SafeTx: { type: string; name: string; }[]; }; export declare const EIP712_SAFE_MESSAGE_TYPE: { SafeMessage: { type: string; name: string; }[]; }; export interface MetaTransaction { to: string; value: BigNumberish; data: string; operation: number; } export interface SafeTransaction extends MetaTransaction { safeTxGas: string | number; baseGas: string | number; gasPrice: string | number; gasToken: string; refundReceiver: string; nonce: string | number; } export interface SignedSafeTransaction extends SafeTransaction { signatures: SafeSignature[]; } export interface SafeSignature { signer: string; data: string; dynamic?: true; } export declare const calculateSafeDomainSeparator: (safeAddress: string, chainId: BigNumberish) => string; export declare const preimageSafeTransactionHash: (safeAddress: string, safeTx: SafeTransaction, chainId: BigNumberish) => string; export declare const calculateSafeTransactionHash: (safeAddress: string, safeTx: SafeTransaction, chainId: BigNumberish) => string; export declare const preimageSafeMessageHash: (safeAddress: string, message: string, chainId: BigNumberish) => string; export declare const calculateSafeMessageHash: (safeAddress: string, message: string, chainId: BigNumberish) => string; export declare const signHash: (signer: Signer, hash: string) => Promise; export declare const getPrevalidatedSignature: (signerAddress: string) => SafeSignature; export declare const buildContractSignature: (signerAddress: string, signature: string) => SafeSignature; export declare const buildSignatureBytes: (signatures: SafeSignature[]) => string; export declare const logGas: (message: string, tx: Promise, skip?: boolean) => Promise;