/// <reference types="react" />
export declare const ErrorDecoderProvider: {
    ({ children, ...props }: {
        children?: import("react").ReactNode;
    }): import("react/jsx-runtime").JSX.Element;
    displayName: string;
};
export declare const useErrorDecoder: () => (errorMessage: string, lang?: "en" | "zh") => string;
