import { PublicKey } from '@solana/web3.js';
import type { TransactionHandler } from './transactionHandler';
/**
 * Gets the back account address for a user given their ethAddress
 */
export declare const getBankAccountAddress: (ethAddress: string, claimableTokenPDA: PublicKey, solanaTokenProgramKey: PublicKey) => Promise<PublicKey>;
type CreateUserBankFromConfig = {
    ethAddress: string;
    claimableTokenPDAKey: PublicKey;
    feePayerKey: PublicKey;
    mintKey: PublicKey;
    solanaTokenProgramKey: PublicKey;
    claimableTokenProgramKey: PublicKey;
    transactionHandler: TransactionHandler;
    recentBlockhash?: string;
};
/**
 * createUserBank deterministically creates a Solana wAudio token account
 * from a provided ethAddress
 */
export declare const createUserBankFrom: ({ ethAddress, claimableTokenPDAKey, feePayerKey, mintKey, solanaTokenProgramKey, claimableTokenProgramKey, transactionHandler, recentBlockhash }: CreateUserBankFromConfig) => Promise<{
    res: string | null;
    errorCode: string | number | null;
    error: string | null;
}>;
export {};
