import { type JsonLd } from '@atlaskit/json-ld-types';
import { APIError, type MetadataStatus } from '@atlaskit/linking-common';
declare const useResponse: () => {
    handleResolvedLinkError: (url: string, error: APIError, response?: JsonLd.Response, isMetadataRequest?: boolean) => void;
    handleResolvedLinkResponse: (resourceUrl: string, response: JsonLd.Response | undefined, isReloading?: boolean, isMetadataRequest?: boolean, metadataStatus?: MetadataStatus) => void;
};
export default useResponse;
