2022-01-06 05:59:52 +00:00
|
|
|
declare module '*.css' {
|
|
|
|
export default string;
|
2022-01-08 18:01:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.png' {
|
2022-01-12 05:31:58 +00:00
|
|
|
export default new Uint8Array;
|
2022-01-16 13:34:14 +00:00
|
|
|
}
|
|
|
|
|
2022-01-26 20:45:15 +00:00
|
|
|
declare module 'blockhash' {
|
|
|
|
export const hammingDistance: (a: string, b: string) => number;
|
|
|
|
export const blockhash: () => void;
|
|
|
|
export const blockhashData: (imgData: {
|
|
|
|
width: number,
|
|
|
|
height: number,
|
|
|
|
data: Uint8Array
|
|
|
|
}, bits: number, method: number) => string;
|
|
|
|
}
|
|
|
|
|
2022-01-29 20:01:45 +00:00
|
|
|
declare const QR: any;
|
|
|
|
declare const BUILD_VERSION: [number, number];
|
|
|
|
declare const execution_mode: 'userscript' | 'chrome_api' | 'ff_api';
|
|
|
|
declare const isBackground: boolean;
|
|
|
|
declare const chrome: typeof browser;
|