/**
 * 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 { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from "@solana/kit";
import { SVM_SPOKE_PROGRAM_ADDRESS } from "../programs";
export declare const SET_CROSS_DOMAIN_ADMIN_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getSetCrossDomainAdminDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type SetCrossDomainAdminInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountState extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
    TAccountSigner extends string ? ReadonlySignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
    TAccountState extends string ? WritableAccount<TAccountState> : TAccountState,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type SetCrossDomainAdminInstructionData = {
    discriminator: ReadonlyUint8Array;
    crossDomainAdmin: Address;
};
export type SetCrossDomainAdminInstructionDataArgs = {
    crossDomainAdmin: Address;
};
export declare function getSetCrossDomainAdminInstructionDataEncoder(): FixedSizeEncoder<SetCrossDomainAdminInstructionDataArgs>;
export declare function getSetCrossDomainAdminInstructionDataDecoder(): FixedSizeDecoder<SetCrossDomainAdminInstructionData>;
export declare function getSetCrossDomainAdminInstructionDataCodec(): FixedSizeCodec<SetCrossDomainAdminInstructionDataArgs, SetCrossDomainAdminInstructionData>;
export type SetCrossDomainAdminAsyncInput<TAccountSigner extends string = string, TAccountState extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    state: Address<TAccountState>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    crossDomainAdmin: SetCrossDomainAdminInstructionDataArgs["crossDomainAdmin"];
};
export declare function getSetCrossDomainAdminInstructionAsync<TAccountSigner extends string, TAccountState extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: SetCrossDomainAdminAsyncInput<TAccountSigner, TAccountState, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<SetCrossDomainAdminInstruction<TProgramAddress, TAccountSigner, TAccountState, TAccountEventAuthority, TAccountProgram>>;
export type SetCrossDomainAdminInput<TAccountSigner extends string = string, TAccountState extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    state: Address<TAccountState>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    crossDomainAdmin: SetCrossDomainAdminInstructionDataArgs["crossDomainAdmin"];
};
export declare function getSetCrossDomainAdminInstruction<TAccountSigner extends string, TAccountState extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: SetCrossDomainAdminInput<TAccountSigner, TAccountState, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): SetCrossDomainAdminInstruction<TProgramAddress, TAccountSigner, TAccountState, TAccountEventAuthority, TAccountProgram>;
export type ParsedSetCrossDomainAdminInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        signer: TAccountMetas[0];
        state: TAccountMetas[1];
        eventAuthority: TAccountMetas[2];
        program: TAccountMetas[3];
    };
    data: SetCrossDomainAdminInstructionData;
};
export declare function parseSetCrossDomainAdminInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetCrossDomainAdminInstruction<TProgram, TAccountMetas>;
