/**
 * 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 ROUTE_DISCRIMINATOR: Uint8Array;
export declare function getRouteDiscriminatorBytes(): ReadonlyUint8Array;
export type Route = {
    discriminator: ReadonlyUint8Array;
    enabled: boolean;
};
export type RouteArgs = {
    enabled: boolean;
};
export declare function getRouteEncoder(): Encoder<RouteArgs>;
export declare function getRouteDecoder(): Decoder<Route>;
export declare function getRouteCodec(): Codec<RouteArgs, Route>;
export declare function decodeRoute<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<Route, TAddress>;
export declare function decodeRoute<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<Route, TAddress>;
export declare function fetchRoute<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<Route, TAddress>>;
export declare function fetchMaybeRoute<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<Route, TAddress>>;
export declare function fetchAllRoute(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<Route>[]>;
export declare function fetchAllMaybeRoute(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<Route>[]>;
export declare function getRouteSize(): number;
