import { TransactionError } from '@safecoin/web3.js';
export declare type ProgramError = {
    index: number;
    message: string;
};
export declare function getTransactionInstructionError(error?: TransactionError | Record<'InstructionError', any>): ProgramError | undefined;
