mirror of
https://git.coom.tech/fuckjannies/lolipiss.git
synced 2024-06-26 12:42:38 +00:00
24 lines
640 B
TypeScript
24 lines
640 B
TypeScript
declare module '*.css' {
|
|
export default string;
|
|
}
|
|
|
|
declare module '*.png' {
|
|
export default new Uint8Array;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
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;
|