/**
 * 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/web3-v2.js';
export declare const ROOT_BUNDLE_DISCRIMINATOR: Uint8Array;
export declare function getRootBundleDiscriminatorBytes(): ReadonlyUint8Array;
export type RootBundle = {
    discriminator: ReadonlyUint8Array;
    relayerRefundRoot: ReadonlyUint8Array;
    slowRelayRoot: ReadonlyUint8Array;
    claimedBitmap: ReadonlyUint8Array;
};
export type RootBundleArgs = {
    relayerRefundRoot: ReadonlyUint8Array;
    slowRelayRoot: ReadonlyUint8Array;
    claimedBitmap: ReadonlyUint8Array;
};
export declare function getRootBundleEncoder(): Encoder<RootBundleArgs>;
export declare function getRootBundleDecoder(): Decoder<RootBundle>;
export declare function getRootBundleCodec(): Codec<RootBundleArgs, RootBundle>;
export declare function decodeRootBundle<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<RootBundle, TAddress>;
export declare function decodeRootBundle<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<RootBundle, TAddress>;
export declare function fetchRootBundle<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<RootBundle, TAddress>>;
export declare function fetchMaybeRootBundle<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<RootBundle, TAddress>>;
export declare function fetchAllRootBundle(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<RootBundle>[]>;
export declare function fetchAllMaybeRootBundle(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<RootBundle>[]>;
