import { FhirError } from "../fhir/errors"; export declare function isError(error: unknown): error is Error; export declare function errorMessage(error: unknown): string; export declare const errorResponse: (title: string, e?: FhirError | Error | unknown) => { statusText: string; title: string; } | { title: string; }; export declare const getFormResponseErrors: (response: unknown) => { requestErrors: string[]; responseIsSuccess: boolean; }; //# sourceMappingURL=errors.d.ts.map