declare class FabricException extends Error { private type; constructor(message: string, errorType?: string); get fabricExceptionType(): string; } export type FabricExceptionItem = Error | FabricException | null | undefined; export type FabricMultiExceptionItems = Array | null | undefined; export declare const exception: { useException: () => [ FabricExceptionItem, () => void ]; useExceptionGlobal: () => FabricMultiExceptionItems; isFabricException: (exception: any) => exception is FabricException; addExceptionHandlingMiddleware: (rethrow?: boolean, errorHandling?: (err: Error | FabricException) => Promise) => void; FabricException: typeof FabricException; }; export {};