import type { Client } from '../../clients/createClient.js'; import type { Transport } from '../../clients/transports/createTransport.js'; import type { Chain } from '../../types/chain.js'; import type { ADDRESS, BLOCK_HASH, BLOCK_TAG, FELT, SIMULATION_FLAG_FOR_ESTIMATE_FEE } from '../../types/components.js'; export type EstimateFeeParameters = ({ type: 'INVOKE'; version: '0x1'; sender_address: ADDRESS; calldata: FELT[]; max_fee: FELT; signature: FELT[]; nonce: FELT; } | { type: 'INVOKE'; version: '0x3'; sender_address: ADDRESS; calldata: FELT[]; signature: FELT[]; nonce: FELT; tip: FELT; paymaster_data: any; account_deployment_data: any; nonce_data_availability_mode: 'L2'; fee_data_availability_mode: 'L2'; l1_max_amount: FELT; l1_max_price_per_unit: FELT; l2_max_amount: FELT; l2_max_price_per_unit: FELT; } | { type: 'DECLARE'; version: '0x2'; sender_address: ADDRESS; compiled_class_hash: FELT; max_fee: FELT; signature: FELT[]; nonce: FELT; } | { type: 'DECLARE'; version: '0x3'; sender_address: ADDRESS; compiled_class_hash: FELT; signature: FELT[]; nonce: FELT; tip: FELT; paymaster_data: any; account_deployment_data: any; nonce_data_availability_mode: 'L2'; fee_data_availability_mode: 'L2'; l1_max_amount: FELT; l1_max_price_per_unit: FELT; l2_max_amount: FELT; l2_max_price_per_unit: FELT; } | { type: 'DEPLOY_ACCOUNT'; version: '0x1'; max_fee: FELT; signature: FELT[]; nonce: FELT; contract_address_salt: FELT; constructor_calldata: FELT[]; class_hash: FELT; } | { type: 'DEPLOY_ACCOUNT'; version: '0x3'; signature: FELT[]; nonce: FELT; contract_address_salt: FELT; constructor_calldata: FELT[]; class_hash: FELT; tip: FELT; paymaster_data: any; nonce_data_availability_mode: 'L2'; fee_data_availability_mode: 'L2'; l1_max_amount: FELT; l1_max_price_per_unit: FELT; l2_max_amount: FELT; l2_max_price_per_unit: FELT; }) & { simulation_flags: SIMULATION_FLAG_FOR_ESTIMATE_FEE; block_hash?: BLOCK_HASH; block_number?: number; block_tag?: BLOCK_TAG; }; export type EstimateFeeReturnTypes = any; export type EstimateFeeErrorType = any; export declare function estimateFee(client: Client, { block_hash, block_number, block_tag, type, version }: EstimateFeeParameters): Promise; //# sourceMappingURL=estimateFee.d.ts.map