import type { ErrorCodesMap, ErrorHandler, StatusCodeMap, ShowErrorMapFunction, ShowErrorProps, ResolvedError } from '@wix/sdk-types'; export declare const withErrorHandler: (fn: () => Promise, errorCodesMap: ErrorCodesMap, options?: import("@wix/error-handler-types/dist/types/v2/ErrorHandlerPublicAPI.js").WithErrorHandlerOptions) => Promise; export declare const getResolvedError: (error: unknown) => ResolvedError & Partial; export declare const showError: (error: unknown, props?: Partial | null) => void; export type { ErrorHandler, ResolvedError, ErrorCodesMap, StatusCodeMap, ShowErrorMapFunction, ShowErrorProps, };