export declare const SwappaErrorType: { readonly MathError: "MathError"; readonly HydrationError: "HydrationError"; }; export type SwappaErrorTypeValue = typeof SwappaErrorType[keyof typeof SwappaErrorType]; export declare class SwappaError extends Error { private readonly _type; constructor(_type: EType, message: string); get type(): EType; static is(e: unknown): e is SwappaError; } export declare class SwappaMathError extends SwappaError { constructor(message: string); static is(e: unknown): e is SwappaMathError; }