/**
 * 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 STATE_DISCRIMINATOR: Uint8Array;
export declare function getStateDiscriminatorBytes(): ReadonlyUint8Array;
export type State = {
    discriminator: ReadonlyUint8Array;
    sourceDomain: number;
    signer: Address;
    bump: number;
};
export type StateArgs = {
    sourceDomain: number;
    signer: Address;
    bump: number;
};
export declare function getStateEncoder(): Encoder<StateArgs>;
export declare function getStateDecoder(): Decoder<State>;
export declare function getStateCodec(): Codec<StateArgs, State>;
export declare function decodeState<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<State, TAddress>;
export declare function decodeState<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<State, TAddress>;
export declare function fetchState<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<State, TAddress>>;
export declare function fetchMaybeState<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<State, TAddress>>;
export declare function fetchAllState(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<State>[]>;
export declare function fetchAllMaybeState(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<State>[]>;
export declare function getStateSize(): number;
