/**
 * This code was AUTOGENERATED using the codama library.
 * Please DO NOT EDIT THIS FILE, instead use visitors
 * to add features, then rerun codama to update it.
 *
 * @see https://github.com/codama-idl/codama
 */
import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type Codec, type Decoder, type EncodedAccount, type Encoder, type FetchAccountConfig, type FetchAccountsConfig, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
export declare const TOKEN_PAIR_DISCRIMINATOR: Uint8Array;
export declare function getTokenPairDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type TokenPair = {
    discriminator: ReadonlyUint8Array;
    remoteDomain: number;
    remoteToken: Address;
    localToken: Address;
    bump: number;
};
export type TokenPairArgs = {
    remoteDomain: number;
    remoteToken: Address;
    localToken: Address;
    bump: number;
};
export declare function getTokenPairEncoder(): Encoder<TokenPairArgs>;
export declare function getTokenPairDecoder(): Decoder<TokenPair>;
export declare function getTokenPairCodec(): Codec<TokenPairArgs, TokenPair>;
export declare function decodeTokenPair<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<TokenPair, TAddress>;
export declare function decodeTokenPair<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<TokenPair, TAddress>;
export declare function fetchTokenPair<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<TokenPair, TAddress>>;
export declare function fetchMaybeTokenPair<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<TokenPair, TAddress>>;
export declare function fetchAllTokenPair(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<TokenPair>[]>;
export declare function fetchAllMaybeTokenPair(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<TokenPair>[]>;
export declare function getTokenPairSize(): number;
