export declare function formatServerError(error: any): string | undefined;
export declare const useError: () => {
    errorHandle: (err: any) => void;
};
