UNPKG

mcard-js

Version:

MCard - Content-addressable storage with cryptographic hashing, handle resolution, and vector search for Node.js and browsers

13 lines 428 B
/** * Central registry for all content type detectors. */ export declare class DetectorRegistry { private detectors; constructor(); /** * Detect content type and return the most likely MIME type. */ detect(contentSample: string | Uint8Array, lines: string[], firstLine: string, fileExtension?: string): string; } export declare const registry: DetectorRegistry; //# sourceMappingURL=registry.d.ts.map