export declare function isError(err: unknown): err is Error;
export declare function hasErrors(err: unknown): err is {
    errors: Error[];
};
