import { type Address, type Chain, type Hex } from 'viem'; import type { UserOperationReceipt } from 'viem/_types/account-abstraction'; import { type AuthProvider } from '../auth/provider'; import { type IntentOpStatus, type SplitIntentsInput } from '../orchestrator'; import type { SettlementLayer } from '../orchestrator/types'; import type { CalldataInput, CallInput, RhinestoneAccountConfig, RhinestoneConfig, SignerSet, SourceAssetInput, Sponsorship, TokenRequest, TokenSymbol, Transaction, UserOperationTransaction } from '../types'; import { ExecutionError, IntentFailedError, IntentStatusTimeoutError, InvalidSourceCallsError, isExecutionError, OrderPathRequiredForIntentsError, SessionChainRequiredError, SignerNotSupportedError } from './error'; import type { TransactionResult, UserOperationResult } from './utils'; interface TransactionStatus { fill: { hash: Hex | undefined; chainId: number; }; claims: { hash: Hex | undefined; chainId: number; }[]; } declare function sendTransaction(config: RhinestoneAccountConfig, transaction: Transaction): Promise; declare function sendUserOperation(config: RhinestoneAccountConfig, transaction: UserOperationTransaction): Promise; declare function sendTransactionInternal(config: RhinestoneConfig, sourceChains: Chain[] | undefined, targetChain: Chain, options: { callInputs?: CallInput[]; sourceCalls?: Record; gasLimit?: bigint; initialTokenRequests?: TokenRequest[]; recipient?: RhinestoneAccountConfig | Address; signers?: SignerSet; sponsored?: Sponsorship; eip7702InitSignature?: Hex; settlementLayers?: SettlementLayer[]; sourceAssets?: SourceAssetInput; lockFunds?: boolean; feeAsset?: Address | TokenSymbol; }): Promise; declare function sendUserOperationInternal(config: RhinestoneConfig, chain: Chain, callInputs: CalldataInput[], signers?: SignerSet): Promise; declare function waitForExecution(config: RhinestoneConfig, result: TransactionResult | UserOperationResult, acceptsPreconfirmations: boolean): Promise; declare function getPortfolio(config: RhinestoneConfig, onTestnets: boolean): Promise; declare function getIntentStatus(authProvider: AuthProvider, endpointUrl: string | undefined, intentId: bigint, headers?: Record): Promise; declare function splitIntents(authProvider: AuthProvider, endpointUrl: string | undefined, input: SplitIntentsInput, headers?: Record): Promise; export { sendTransaction, sendTransactionInternal, sendUserOperation, sendUserOperationInternal, waitForExecution, getPortfolio, getIntentStatus, splitIntents, isExecutionError, ExecutionError, IntentFailedError, IntentStatusTimeoutError, InvalidSourceCallsError, OrderPathRequiredForIntentsError, SessionChainRequiredError, SignerNotSupportedError, }; export type { TransactionStatus, TransactionResult, UserOperationResult }; //# sourceMappingURL=index.d.ts.map