/**
 * 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 EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from "@solana/kit";
export declare const STATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getStateDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type State = {
    discriminator: ReadonlyUint8Array;
    pausedDeposits: boolean;
    pausedFills: boolean;
    owner: Address;
    seed: bigint;
    numberOfDeposits: number;
    chainId: bigint;
    currentTime: number;
    remoteDomain: number;
    crossDomainAdmin: Address;
    rootBundleId: number;
    depositQuoteTimeBuffer: number;
    fillDeadlineBuffer: number;
};
export type StateArgs = {
    pausedDeposits: boolean;
    pausedFills: boolean;
    owner: Address;
    seed: number | bigint;
    numberOfDeposits: number;
    chainId: number | bigint;
    currentTime: number;
    remoteDomain: number;
    crossDomainAdmin: Address;
    rootBundleId: number;
    depositQuoteTimeBuffer: number;
    fillDeadlineBuffer: number;
};
/** Gets the encoder for {@link StateArgs} account data. */
export declare function getStateEncoder(): FixedSizeEncoder<StateArgs>;
/** Gets the decoder for {@link State} account data. */
export declare function getStateDecoder(): FixedSizeDecoder<State>;
/** Gets the codec for {@link State} account data. */
export declare function getStateCodec(): FixedSizeCodec<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;
//# sourceMappingURL=state.d.ts.map