index.d.ts 270 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 export interface IDetectedMap { encoding: string, confidence: number } export function detect(buffer: Buffer, options?: { minimumThreshold: number }): IDetectedMap; export const Constants: { MINIMUM_THRESHOLD: number, } export function enableDebug(): void;