summaryrefslogtreecommitdiff
path: root/includes/external/addressbook/node_modules/chardet/lib/encoding/sbcs.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/addressbook/node_modules/chardet/lib/encoding/sbcs.d.ts')
-rw-r--r--includes/external/addressbook/node_modules/chardet/lib/encoding/sbcs.d.ts75
1 files changed, 75 insertions, 0 deletions
diff --git a/includes/external/addressbook/node_modules/chardet/lib/encoding/sbcs.d.ts b/includes/external/addressbook/node_modules/chardet/lib/encoding/sbcs.d.ts
new file mode 100644
index 0000000..d3de805
--- /dev/null
+++ b/includes/external/addressbook/node_modules/chardet/lib/encoding/sbcs.d.ts
@@ -0,0 +1,75 @@
+import { Context, Recogniser } from '../encoding/index';
+import { Match } from '../match';
+declare class NGramsPlusLang {
+ fLang: string;
+ fNGrams: number[];
+ constructor(la: string, ng: number[]);
+}
+declare class sbcs implements Recogniser {
+ spaceChar: number;
+ private nGramLang?;
+ ngrams(): NGramsPlusLang[] | number[];
+ byteMap(): number[];
+ name(_input: Context): string;
+ language(): string | undefined;
+ match(det: Context): Match | null;
+}
+export declare class ISO_8859_1 extends sbcs {
+ byteMap(): number[];
+ ngrams(): NGramsPlusLang[];
+ name(input: Context): string;
+}
+export declare class ISO_8859_2 extends sbcs {
+ byteMap(): number[];
+ ngrams(): NGramsPlusLang[];
+ name(det: Context): string;
+}
+export declare class ISO_8859_5 extends sbcs {
+ byteMap(): number[];
+ ngrams(): number[];
+ name(): string;
+ language(): string;
+}
+export declare class ISO_8859_6 extends sbcs {
+ byteMap(): number[];
+ ngrams(): number[];
+ name(): string;
+ language(): string;
+}
+export declare class ISO_8859_7 extends sbcs {
+ byteMap(): number[];
+ ngrams(): number[];
+ name(det: Context): string;
+ language(): string;
+}
+export declare class ISO_8859_8 extends sbcs {
+ byteMap(): number[];
+ ngrams(): NGramsPlusLang[];
+ name(det: Context): string;
+ language(): string;
+}
+export declare class ISO_8859_9 extends sbcs {
+ byteMap(): number[];
+ ngrams(): number[];
+ name(det: Context): string;
+ language(): string;
+}
+export declare class windows_1251 extends sbcs {
+ byteMap(): number[];
+ ngrams(): number[];
+ name(): string;
+ language(): string;
+}
+export declare class windows_1256 extends sbcs {
+ byteMap(): number[];
+ ngrams(): number[];
+ name(): string;
+ language(): string;
+}
+export declare class KOI8_R extends sbcs {
+ byteMap(): number[];
+ ngrams(): number[];
+ name(): string;
+ language(): string;
+}
+export {};