import { type AccountMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array } from "@solana/kit";
import { MESSAGE_TRANSMITTER_PROGRAM_ADDRESS } from "../programs";
export declare const IS_NONCE_USED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getIsNonceUsedDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type IsNonceUsedInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_PROGRAM_ADDRESS, TAccountUsedNonces extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
    TAccountUsedNonces extends string ? ReadonlyAccount<TAccountUsedNonces> : TAccountUsedNonces,
    ...TRemainingAccounts
]>;
export type IsNonceUsedInstructionData = {
    discriminator: ReadonlyUint8Array;
    nonce: bigint;
};
export type IsNonceUsedInstructionDataArgs = {
    nonce: number | bigint;
};
export declare function getIsNonceUsedInstructionDataEncoder(): FixedSizeEncoder<IsNonceUsedInstructionDataArgs>;
export declare function getIsNonceUsedInstructionDataDecoder(): FixedSizeDecoder<IsNonceUsedInstructionData>;
export declare function getIsNonceUsedInstructionDataCodec(): FixedSizeCodec<IsNonceUsedInstructionDataArgs, IsNonceUsedInstructionData>;
export type IsNonceUsedInput<TAccountUsedNonces extends string = string> = {
    usedNonces: Address<TAccountUsedNonces>;
    nonce: IsNonceUsedInstructionDataArgs["nonce"];
};
export declare function getIsNonceUsedInstruction<TAccountUsedNonces extends string, TProgramAddress extends Address = typeof MESSAGE_TRANSMITTER_PROGRAM_ADDRESS>(input: IsNonceUsedInput<TAccountUsedNonces>, config?: {
    programAddress?: TProgramAddress;
}): IsNonceUsedInstruction<TProgramAddress, TAccountUsedNonces>;
export type ParsedIsNonceUsedInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        usedNonces: TAccountMetas[0];
    };
    data: IsNonceUsedInstructionData;
};
export declare function parseIsNonceUsedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedIsNonceUsedInstruction<TProgram, TAccountMetas>;
