UNPKG

bitcoin-inscription-viewer

Version:

🔍 A robust, production-ready React/TypeScript library for viewing Bitcoin Ordinals inscriptions with advanced optimization features including LRU caching, LaserEyes wallet integration, virtual scrolling, and performance monitoring

15 lines 671 B
export { getMimeTypeFromExtension, getExtensionsFromMimeType, isMimeTypeSupported, getAllSupportedExtensions, getMimeTypeCategory } from './mimeTypes'; /** * Detect content type from binary data and headers */ export declare function detectContentTypeFromBytes(bytes: Uint8Array, mimeType?: string): string; /** * Check if content type is supported for rendering */ export declare function isContentTypeSupported(mimeType: string): boolean; declare const _default: { detectContentTypeFromBytes: typeof detectContentTypeFromBytes; isContentTypeSupported: typeof isContentTypeSupported; }; export default _default; //# sourceMappingURL=contentDetection.d.ts.map