import { PublicKey } from "@solana/web3.js"; import { ClusterNetwork } from "../clientConfig"; export type RouteAccountPlaceholder = "payer" | "nonce"; export type SerializableRouteAccountMeta = { pubkey?: PublicKey; placeholder?: RouteAccountPlaceholder; isSigner: boolean; isWritable: boolean; }; export type LayerzeroOftRouteProfile = { sourceMint: PublicKey; destinationChain: number; providerProgram: PublicKey; providerConfig: PublicKey; nonceAccount?: PublicKey; peerConfig: PublicKey; providerSender: PublicKey; enforcedOptions: PublicKey; tokenEscrow: PublicKey; eventAuthority: PublicKey; lookupTables?: PublicKey[]; defaultOptions?: Uint8Array | number[] | Buffer; defaultMinAmountBps?: number; remainingAccounts: SerializableRouteAccountMeta[]; quoteRemainingAccounts?: SerializableRouteAccountMeta[]; }; export declare function resolveCanonicalLayerzeroOftRouteProfile(params: { sourceMint: PublicKey; destinationChain: number; cluster: ClusterNetwork; providerProgram?: PublicKey; }): LayerzeroOftRouteProfile | null;