import React from 'react';
export declare const ErrorMessage: React.FC<{
    message: Array<string> | string | null;
}>;
export declare const useError: (initialState: string | null) => {
    error: string | null;
    showError: (errorMessage: string | null) => void;
};
export default useError;
