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 EMERGENCY_DELETE_ROOT_BUNDLE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getEmergencyDeleteRootBundleDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type EmergencyDeleteRootBundleInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountCloser extends string | AccountMeta<string> = string, TAccountState extends string | AccountMeta<string> = string, TAccountRootBundle 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,
    TAccountCloser extends string ? WritableAccount<TAccountCloser> : TAccountCloser,
    TAccountState extends string ? ReadonlyAccount<TAccountState> : TAccountState,
    TAccountRootBundle extends string ? WritableAccount<TAccountRootBundle> : TAccountRootBundle,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type EmergencyDeleteRootBundleInstructionData = {
    discriminator: ReadonlyUint8Array;
    rootBundleId: number;
};
export type EmergencyDeleteRootBundleInstructionDataArgs = {
    rootBundleId: number;
};
export declare function getEmergencyDeleteRootBundleInstructionDataEncoder(): FixedSizeEncoder<EmergencyDeleteRootBundleInstructionDataArgs>;
export declare function getEmergencyDeleteRootBundleInstructionDataDecoder(): FixedSizeDecoder<EmergencyDeleteRootBundleInstructionData>;
export declare function getEmergencyDeleteRootBundleInstructionDataCodec(): FixedSizeCodec<EmergencyDeleteRootBundleInstructionDataArgs, EmergencyDeleteRootBundleInstructionData>;
export type EmergencyDeleteRootBundleAsyncInput<TAccountSigner extends string = string, TAccountCloser extends string = string, TAccountState extends string = string, TAccountRootBundle extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    closer: Address<TAccountCloser>;
    state: Address<TAccountState>;
    rootBundle: Address<TAccountRootBundle>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    rootBundleId: EmergencyDeleteRootBundleInstructionDataArgs["rootBundleId"];
};
export declare function getEmergencyDeleteRootBundleInstructionAsync<TAccountSigner extends string, TAccountCloser extends string, TAccountState extends string, TAccountRootBundle extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: EmergencyDeleteRootBundleAsyncInput<TAccountSigner, TAccountCloser, TAccountState, TAccountRootBundle, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<EmergencyDeleteRootBundleInstruction<TProgramAddress, TAccountSigner, TAccountCloser, TAccountState, TAccountRootBundle, TAccountEventAuthority, TAccountProgram>>;
export type EmergencyDeleteRootBundleInput<TAccountSigner extends string = string, TAccountCloser extends string = string, TAccountState extends string = string, TAccountRootBundle extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    closer: Address<TAccountCloser>;
    state: Address<TAccountState>;
    rootBundle: Address<TAccountRootBundle>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    rootBundleId: EmergencyDeleteRootBundleInstructionDataArgs["rootBundleId"];
};
export declare function getEmergencyDeleteRootBundleInstruction<TAccountSigner extends string, TAccountCloser extends string, TAccountState extends string, TAccountRootBundle extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: EmergencyDeleteRootBundleInput<TAccountSigner, TAccountCloser, TAccountState, TAccountRootBundle, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): EmergencyDeleteRootBundleInstruction<TProgramAddress, TAccountSigner, TAccountCloser, TAccountState, TAccountRootBundle, TAccountEventAuthority, TAccountProgram>;
export type ParsedEmergencyDeleteRootBundleInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        signer: TAccountMetas[0];
        closer: TAccountMetas[1];
        state: TAccountMetas[2];
        rootBundle: TAccountMetas[3];
        eventAuthority: TAccountMetas[4];
        program: TAccountMetas[5];
    };
    data: EmergencyDeleteRootBundleInstructionData;
};
export declare function parseEmergencyDeleteRootBundleInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedEmergencyDeleteRootBundleInstruction<TProgram, TAccountMetas>;
