import { type AccountMeta, type AddressLookupTableAccount, type Connection, PublicKey } from '@solana/web3.js'; import type { OfframpProgram } from './programs/getCcipOfframp.ts'; import type { MessageWithAccounts } from './utils.ts'; type BuildTokenAccountsParams = { connection: Connection; offrampProgram: OfframpProgram; message: MessageWithAccounts; routerProgramPubkey: PublicKey; feeQuoterPubkey: PublicKey; remainingAccounts: AccountMeta[]; }; export declare function deriveUserTokenAccount({ tokenReceiver, tokenProgram, mint, }: { tokenReceiver: PublicKey; tokenProgram: PublicKey; mint: PublicKey; }): PublicKey; export declare function derivePerChainTokenConfig({ chainSelector, mint, feeQuoterPubkey, }: { chainSelector: bigint; mint: PublicKey; feeQuoterPubkey: PublicKey; }): PublicKey; export declare function derivePoolChainConfig({ chainSelector, mint, poolProgram, }: { chainSelector: bigint; mint: PublicKey; poolProgram: PublicKey; }): PublicKey; export declare function deriveCcipOfframpPoolsSigner({ poolPubkey, offrampPubkey, }: { poolPubkey: PublicKey; offrampPubkey: PublicKey; }): [PublicKey, number]; export declare function deriveCcipRouterPoolsSigner(poolProgram: PublicKey, routerProgramId: PublicKey): PublicKey; export declare function deriveTokenAccounts(params: BuildTokenAccountsParams): Promise<{ tokenAccounts: AccountMeta[]; addressLookupTableAccounts: AddressLookupTableAccount[]; tokenIndexes: number[]; }>; export {}; //# sourceMappingURL=deriveTokenAccounts.d.ts.map