import type { Api, ApiResponse } from '../types';
export declare type HealthCheckConfig = {
    apis: Api[];
    interval?: number;
    onError?: (api: ApiResponse) => void;
};
export declare type HealthCheckReturn = {
    apisWithErrors: Api[];
    pageHasError: boolean;
};
export declare const useHealthCheck: ({ apis, interval, onError, }: HealthCheckConfig) => HealthCheckReturn;
export default useHealthCheck;
//# sourceMappingURL=useHealthCheck.d.ts.map