/**
 * 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/web3-v2.js';
import { SVM_SPOKE_PROGRAM_ADDRESS } from '../programs';
export declare const INITIALIZE_INSTRUCTION_PARAMS_DISCRIMINATOR: Uint8Array;
export declare function getInitializeInstructionParamsDiscriminatorBytes(): ReadonlyUint8Array;
export type InitializeInstructionParamsInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountSigner extends string | IAccountMeta<string> = string, TAccountInstructionParams extends string | IAccountMeta<string> = string, TAccountSystemProgram extends string | IAccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountSigner extends string ? WritableSignerAccount<TAccountSigner> & IAccountSignerMeta<TAccountSigner> : TAccountSigner,
    TAccountInstructionParams extends string ? WritableAccount<TAccountInstructionParams> : TAccountInstructionParams,
    TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
    ...TRemainingAccounts
]>;
export type InitializeInstructionParamsInstructionData = {
    discriminator: ReadonlyUint8Array;
    totalSize: number;
};
export type InitializeInstructionParamsInstructionDataArgs = {
    totalSize: number;
};
export declare function getInitializeInstructionParamsInstructionDataEncoder(): Encoder<InitializeInstructionParamsInstructionDataArgs>;
export declare function getInitializeInstructionParamsInstructionDataDecoder(): Decoder<InitializeInstructionParamsInstructionData>;
export declare function getInitializeInstructionParamsInstructionDataCodec(): Codec<InitializeInstructionParamsInstructionDataArgs, InitializeInstructionParamsInstructionData>;
export type InitializeInstructionParamsAsyncInput<TAccountSigner extends string = string, TAccountInstructionParams extends string = string, TAccountSystemProgram extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    instructionParams?: Address<TAccountInstructionParams>;
    systemProgram?: Address<TAccountSystemProgram>;
    totalSize: InitializeInstructionParamsInstructionDataArgs['totalSize'];
};
export declare function getInitializeInstructionParamsInstructionAsync<TAccountSigner extends string, TAccountInstructionParams extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: InitializeInstructionParamsAsyncInput<TAccountSigner, TAccountInstructionParams, TAccountSystemProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<InitializeInstructionParamsInstruction<TProgramAddress, TAccountSigner, TAccountInstructionParams, TAccountSystemProgram>>;
export type InitializeInstructionParamsInput<TAccountSigner extends string = string, TAccountInstructionParams extends string = string, TAccountSystemProgram extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    instructionParams: Address<TAccountInstructionParams>;
    systemProgram?: Address<TAccountSystemProgram>;
    totalSize: InitializeInstructionParamsInstructionDataArgs['totalSize'];
};
export declare function getInitializeInstructionParamsInstruction<TAccountSigner extends string, TAccountInstructionParams extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: InitializeInstructionParamsInput<TAccountSigner, TAccountInstructionParams, TAccountSystemProgram>, config?: {
    programAddress?: TProgramAddress;
}): InitializeInstructionParamsInstruction<TProgramAddress, TAccountSigner, TAccountInstructionParams, TAccountSystemProgram>;
export type ParsedInitializeInstructionParamsInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        signer: TAccountMetas[0];
        instructionParams: TAccountMetas[1];
        systemProgram: TAccountMetas[2];
    };
    data: InitializeInstructionParamsInstructionData;
};
export declare function parseInitializeInstructionParamsInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedInitializeInstructionParamsInstruction<TProgram, TAccountMetas>;
