summaryrefslogtreecommitdiff
path: root/includes/external/addressbook/node_modules/chardet/lib/encoding/index.d.ts
blob: 89605ccc8ad8cd496d32d1c50b46d4f6dd80b7e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { Match } from '../match';
export interface Recogniser {
    match(input: Context): Match | null;
    name(input?: Context): string;
    language?(): string | undefined;
}
export interface Context {
    byteStats: number[];
    c1Bytes: boolean;
    rawInput: Uint8Array;
    rawLen: number;
    inputBytes: Uint8Array;
    inputLen: number;
}