import { type ActivityEvent } from '@awell-health/extensions-core';
import { type FieldError } from './generated/sdk';
import { type Response } from 'graphql-request/dist/types';
export declare class HealthieError extends Error {
    errors: FieldError[];
    constructor(errors: FieldError[]);
}
export declare const getHealthieErrorFromResponse: (response: Response<unknown> | Error) => FieldError[] | undefined;
export declare const mapHealthieToActivityError: (errors?: Array<FieldError | null>) => ActivityEvent[];
export declare const formatError: (error?: unknown | Error) => any;
