/**
 * 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 Address, type Codec, type Decoder, type Encoder, type IAccountMeta, type IAccountSignerMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
import { SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS } from '../programs';
export declare const SET_SIGNER_DISCRIMINATOR: Uint8Array;
export declare function getSetSignerDiscriminatorBytes(): ReadonlyUint8Array;
export type SetSignerInstruction<TProgram extends string = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS, TAccountSigner extends string | IAccountMeta<string> = string, TAccountState extends string | IAccountMeta<string> = string, TAccountProgramData extends string | IAccountMeta<string> = string, TAccountThisProgram extends string | IAccountMeta<string> = 'CPr4bRvkVKcSCLyrQpkZrRrwGzQeVAXutFU8WupuBLXq', TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountSigner extends string ? WritableSignerAccount<TAccountSigner> & IAccountSignerMeta<TAccountSigner> : TAccountSigner,
    TAccountState extends string ? WritableAccount<TAccountState> : TAccountState,
    TAccountProgramData extends string ? ReadonlyAccount<TAccountProgramData> : TAccountProgramData,
    TAccountThisProgram extends string ? ReadonlyAccount<TAccountThisProgram> : TAccountThisProgram,
    ...TRemainingAccounts
]>;
export type SetSignerInstructionData = {
    discriminator: ReadonlyUint8Array;
    newSigner: Address;
};
export type SetSignerInstructionDataArgs = {
    newSigner: Address;
};
export declare function getSetSignerInstructionDataEncoder(): Encoder<SetSignerInstructionDataArgs>;
export declare function getSetSignerInstructionDataDecoder(): Decoder<SetSignerInstructionData>;
export declare function getSetSignerInstructionDataCodec(): Codec<SetSignerInstructionDataArgs, SetSignerInstructionData>;
export type SetSignerAsyncInput<TAccountSigner extends string = string, TAccountState extends string = string, TAccountProgramData extends string = string, TAccountThisProgram extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    state?: Address<TAccountState>;
    programData: Address<TAccountProgramData>;
    thisProgram?: Address<TAccountThisProgram>;
    newSigner: SetSignerInstructionDataArgs['newSigner'];
};
export declare function getSetSignerInstructionAsync<TAccountSigner extends string, TAccountState extends string, TAccountProgramData extends string, TAccountThisProgram extends string, TProgramAddress extends Address = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS>(input: SetSignerAsyncInput<TAccountSigner, TAccountState, TAccountProgramData, TAccountThisProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<SetSignerInstruction<TProgramAddress, TAccountSigner, TAccountState, TAccountProgramData, TAccountThisProgram>>;
export type SetSignerInput<TAccountSigner extends string = string, TAccountState extends string = string, TAccountProgramData extends string = string, TAccountThisProgram extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    state: Address<TAccountState>;
    programData: Address<TAccountProgramData>;
    thisProgram?: Address<TAccountThisProgram>;
    newSigner: SetSignerInstructionDataArgs['newSigner'];
};
export declare function getSetSignerInstruction<TAccountSigner extends string, TAccountState extends string, TAccountProgramData extends string, TAccountThisProgram extends string, TProgramAddress extends Address = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS>(input: SetSignerInput<TAccountSigner, TAccountState, TAccountProgramData, TAccountThisProgram>, config?: {
    programAddress?: TProgramAddress;
}): SetSignerInstruction<TProgramAddress, TAccountSigner, TAccountState, TAccountProgramData, TAccountThisProgram>;
export type ParsedSetSignerInstruction<TProgram extends string = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        signer: TAccountMetas[0];
        state: TAccountMetas[1];
        programData: TAccountMetas[2];
        thisProgram: TAccountMetas[3];
    };
    data: SetSignerInstructionData;
};
export declare function parseSetSignerInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedSetSignerInstruction<TProgram, TAccountMetas>;
