interface BlobResult { blobUrl: string | null; tooLarge: boolean; } interface ObjectBlobState extends BlobResult { loading: boolean; error: string | null; corsError: boolean; } /** Fetch an object into a blob URL with a forced MIME type so e.g. PDFs render inline even when served as octet-stream; cached per `cacheKey` so repeated mounts share one download and one blob URL, revoked when the cache drops it. */ export declare function useObjectBlobUrl(url: string, { maxBytes, knownSize, mimeType, cacheKey, }: { maxBytes: number; knownSize?: number | undefined; mimeType: string; cacheKey: string; }): ObjectBlobState; export {};