import { Response } from '@algolia/requester-common';
export declare type onProbeSuccessHandler = (url: string) => void;
export declare type onProbeErrorHandler = (url: string, response: Response) => void;
export declare function isProbeEntry(url: string): boolean;
/**
 * Execute request to probed target and
 * @param url {string}
 * @param onSuccess {function}
 * @param onError {function}
 */
declare function probe(url: string, onSuccess: onProbeSuccessHandler, onError: onProbeErrorHandler): void;
export default probe;
