import { BaseError } from 'viem'; import { ContractErrorFactory } from '../ContractErrorFactory'; import { PendleContractErrorParams, PendleContractErrorType } from './helperTypes'; import { PendleContractErrorMessageHandler } from './type'; export * from './customHandler'; export * from './defaultHandler'; export * from './helperTypes'; export * from './type'; export declare class PendleContractError extends BaseError { readonly errorName: ErrorType; readonly args: PendleContractErrorParams; static errorMessageHandler: PendleContractErrorMessageHandler; static factory: ContractErrorFactory; static decodeError(originalError: Error): PendleContractError | undefined; constructor(errorName: ErrorType, args: PendleContractErrorParams, cause: Error); isType(otherType: OtherErrorType): this is PendleContractError; }