summaryrefslogtreecommitdiff
path: root/includes/external/addressbook/node_modules/chardet/lib/encoding/mbcs.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/addressbook/node_modules/chardet/lib/encoding/mbcs.d.ts')
-rw-r--r--includes/external/addressbook/node_modules/chardet/lib/encoding/mbcs.d.ts50
1 files changed, 50 insertions, 0 deletions
diff --git a/includes/external/addressbook/node_modules/chardet/lib/encoding/mbcs.d.ts b/includes/external/addressbook/node_modules/chardet/lib/encoding/mbcs.d.ts
new file mode 100644
index 0000000..660da92
--- /dev/null
+++ b/includes/external/addressbook/node_modules/chardet/lib/encoding/mbcs.d.ts
@@ -0,0 +1,50 @@
+import { Context, Recogniser } from '.';
+import { Match } from '../match';
+declare class IteratedChar {
+ charValue: number;
+ index: number;
+ nextIndex: number;
+ error: boolean;
+ done: boolean;
+ constructor();
+ reset(): void;
+ nextByte(det: Context): number;
+}
+declare class mbcs implements Recogniser {
+ commonChars: number[];
+ name(): string;
+ match(det: Context): Match | null;
+ nextChar(_iter: IteratedChar, _det: Context): boolean;
+}
+export declare class sjis extends mbcs {
+ name(): string;
+ language(): string;
+ commonChars: number[];
+ nextChar(iter: IteratedChar, det: Context): boolean;
+}
+export declare class big5 extends mbcs {
+ name(): string;
+ language(): string;
+ commonChars: number[];
+ nextChar(iter: IteratedChar, det: Context): boolean;
+}
+declare function eucNextChar(iter: IteratedChar, det: Context): boolean;
+export declare class euc_jp extends mbcs {
+ name(): string;
+ language(): string;
+ commonChars: number[];
+ nextChar: typeof eucNextChar;
+}
+export declare class euc_kr extends mbcs {
+ name(): string;
+ language(): string;
+ commonChars: number[];
+ nextChar: typeof eucNextChar;
+}
+export declare class gb_18030 extends mbcs {
+ name(): string;
+ language(): string;
+ nextChar(iter: IteratedChar, det: Context): boolean;
+ commonChars: number[];
+}
+export {};