/**
 * 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 OPERATION_STATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getOperationStateDiscriminatorBytes(): ReadonlyUint8Array;
export type OperationState = {
    discriminator: ReadonlyUint8Array;
    bump: number;
    operationOwners: Array<Address>;
    whitelistMints: Array<Address>;
};
export type OperationStateArgs = {
    bump: number;
    operationOwners: Array<Address>;
    whitelistMints: Array<Address>;
};
/** Gets the encoder for {@link OperationStateArgs} account data. */
export declare function getOperationStateEncoder(): FixedSizeEncoder<OperationStateArgs>;
/** Gets the decoder for {@link OperationState} account data. */
export declare function getOperationStateDecoder(): FixedSizeDecoder<OperationState>;
/** Gets the codec for {@link OperationState} account data. */
export declare function getOperationStateCodec(): FixedSizeCodec<OperationStateArgs, OperationState>;
export declare function decodeOperationState<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<OperationState, TAddress>;
export declare function decodeOperationState<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<OperationState, TAddress>;
export declare function fetchOperationState<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<OperationState, TAddress>>;
export declare function fetchMaybeOperationState<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<OperationState, TAddress>>;
export declare function fetchAllOperationState(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<OperationState>[]>;
export declare function fetchAllMaybeOperationState(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<OperationState>[]>;
export declare function getOperationStateSize(): number;
//# sourceMappingURL=operationState.d.ts.map