export declare function fetchBlob(url: string): Promise<Blob>;
export declare function releaseResourceUrl(resourceUrl: string): void;
/**
 * Custom hook for retrieving a resource and assigning it a localhost URL. This is useful for
 * fetching resources from URLs that may expire before the resource renders.
 * @param preSignedURL
 * @returns a localhost URL referencing the prefetched resource
 */
export default function usePreFetchResource(preSignedURL?: string): string | undefined;
/**
 * Uses URL.createObjectURL to create a URL for the given blob. When this hook unmounts, the URL is released.
 * @param blob
 */
export declare function useCreateUrlForData(blob: Blob | null | undefined): string | undefined;
//# sourceMappingURL=usePreFetchResource.d.ts.map