import { type Base64EncodedWireTransaction } from "@solana/kit"; import { type Chain, type Hex, type Transport } from "viem"; import type { SmartAccount } from "viem/account-abstraction"; import type { BaseIntentClient, CombinedIntentRpcSchema } from "../client/intentClient.js"; import type { INTENT_VERSION_TYPE, UserIntentHash } from "../types/intent.js"; import type { GaslessCrossChainOrder, GetIntentReturnType } from "./getIntent.js"; import type { PrepareUserIntentParameters } from "./prepareUserIntent.js"; export type SendUserIntentParameters = Partial> & { intent?: GetIntentReturnType; }; export type RelayerSendUserIntentResult = { uiHash: Hex; }; export type SendUserIntentResult = { inputsUiHash: UserIntentHash[]; outputUiHash: UserIntentHash; }; export declare const getOrderHash: (order: GaslessCrossChainOrder) => Hex; export declare function sendOrders(client: BaseIntentClient, ordersWithSig: { order: GaslessCrossChainOrder; signature: Hex; }[], version: INTENT_VERSION_TYPE, solanaTx: Base64EncodedWireTransaction | undefined): Promise<{ inputsUiHash: { uiHash: `0x${string}`; }[]; outputUiHash: { uiHash: `0x${string}`; }; } | { inputsUiHash: { uiHash: import("@solana/kit").Signature; }[]; outputUiHash: { uiHash: import("@solana/kit").Signature; }; }>; export declare function sendUserIntent(client: BaseIntentClient, parameters: SendUserIntentParameters, version: INTENT_VERSION_TYPE): Promise; //# sourceMappingURL=sendUserIntent.d.ts.map