/**
 * 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 IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type WritableAccount } from '@solana/kit';
import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs';
export declare const INITIALIZE_PERMANENT_DELEGATE_DISCRIMINATOR = 35;
export declare function getInitializePermanentDelegateDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array;
export type InitializePermanentDelegateInstruction<TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, TAccountMint extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountMint extends string ? WritableAccount<TAccountMint> : TAccountMint,
    ...TRemainingAccounts
]>;
export type InitializePermanentDelegateInstructionData = {
    discriminator: number;
    /** Authority that may sign for `Transfer`s and `Burn`s on any account */
    delegate: Address;
};
export type InitializePermanentDelegateInstructionDataArgs = {
    /** Authority that may sign for `Transfer`s and `Burn`s on any account */
    delegate: Address;
};
export declare function getInitializePermanentDelegateInstructionDataEncoder(): Encoder<InitializePermanentDelegateInstructionDataArgs>;
export declare function getInitializePermanentDelegateInstructionDataDecoder(): Decoder<InitializePermanentDelegateInstructionData>;
export declare function getInitializePermanentDelegateInstructionDataCodec(): Codec<InitializePermanentDelegateInstructionDataArgs, InitializePermanentDelegateInstructionData>;
export type InitializePermanentDelegateInput<TAccountMint extends string = string> = {
    /** The mint to initialize. */
    mint: Address<TAccountMint>;
    delegate: InitializePermanentDelegateInstructionDataArgs['delegate'];
};
export declare function getInitializePermanentDelegateInstruction<TAccountMint extends string, TProgramAddress extends Address = typeof TOKEN_2022_PROGRAM_ADDRESS>(input: InitializePermanentDelegateInput<TAccountMint>, config?: {
    programAddress?: TProgramAddress;
}): InitializePermanentDelegateInstruction<TProgramAddress, TAccountMint>;
export type ParsedInitializePermanentDelegateInstruction<TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        /** The mint to initialize. */
        mint: TAccountMetas[0];
    };
    data: InitializePermanentDelegateInstructionData;
};
export declare function parseInitializePermanentDelegateInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedInitializePermanentDelegateInstruction<TProgram, TAccountMetas>;
//# sourceMappingURL=initializePermanentDelegate.d.ts.map