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 { TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS } from "../programs";
export declare const ACCEPT_OWNERSHIP_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getAcceptOwnershipDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type AcceptOwnershipInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS, TAccountPendingOwner extends string | AccountMeta<string> = string, TAccountTokenMessenger 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<[
    TAccountPendingOwner extends string ? ReadonlySignerAccount<TAccountPendingOwner> & AccountSignerMeta<TAccountPendingOwner> : TAccountPendingOwner,
    TAccountTokenMessenger extends string ? WritableAccount<TAccountTokenMessenger> : TAccountTokenMessenger,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type AcceptOwnershipInstructionData = {
    discriminator: ReadonlyUint8Array;
};
export type AcceptOwnershipInstructionDataArgs = {};
export declare function getAcceptOwnershipInstructionDataEncoder(): FixedSizeEncoder<AcceptOwnershipInstructionDataArgs>;
export declare function getAcceptOwnershipInstructionDataDecoder(): FixedSizeDecoder<AcceptOwnershipInstructionData>;
export declare function getAcceptOwnershipInstructionDataCodec(): FixedSizeCodec<AcceptOwnershipInstructionDataArgs, AcceptOwnershipInstructionData>;
export type AcceptOwnershipAsyncInput<TAccountPendingOwner extends string = string, TAccountTokenMessenger extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    pendingOwner: TransactionSigner<TAccountPendingOwner>;
    tokenMessenger: Address<TAccountTokenMessenger>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
};
export declare function getAcceptOwnershipInstructionAsync<TAccountPendingOwner extends string, TAccountTokenMessenger extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: AcceptOwnershipAsyncInput<TAccountPendingOwner, TAccountTokenMessenger, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<AcceptOwnershipInstruction<TProgramAddress, TAccountPendingOwner, TAccountTokenMessenger, TAccountEventAuthority, TAccountProgram>>;
export type AcceptOwnershipInput<TAccountPendingOwner extends string = string, TAccountTokenMessenger extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    pendingOwner: TransactionSigner<TAccountPendingOwner>;
    tokenMessenger: Address<TAccountTokenMessenger>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
};
export declare function getAcceptOwnershipInstruction<TAccountPendingOwner extends string, TAccountTokenMessenger extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: AcceptOwnershipInput<TAccountPendingOwner, TAccountTokenMessenger, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): AcceptOwnershipInstruction<TProgramAddress, TAccountPendingOwner, TAccountTokenMessenger, TAccountEventAuthority, TAccountProgram>;
export type ParsedAcceptOwnershipInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        pendingOwner: TAccountMetas[0];
        tokenMessenger: TAccountMetas[1];
        eventAuthority: TAccountMetas[2];
        program: TAccountMetas[3];
    };
    data: AcceptOwnershipInstructionData;
};
export declare function parseAcceptOwnershipInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAcceptOwnershipInstruction<TProgram, TAccountMetas>;
