2019-06-29 15:16:27 +02:00
|
|
|
declare class BloomFilter {
|
|
|
|
constructor(data: Uint32Array, k: number);
|
|
|
|
test(key: string): boolean;
|
|
|
|
name: string;
|
|
|
|
}
|
2019-06-29 15:41:37 +02:00
|
|
|
type LabelKind = 't-friendly' | 'transphobic' | 'none' | '';
|
|
|
|
type ShinigamiSubmission = {
|
|
|
|
mark: LabelKind
|
|
|
|
url: string
|
|
|
|
tabId: number
|
|
|
|
frameId: number
|
|
|
|
debug: number
|
|
|
|
identifier?: string
|
|
|
|
secondaryIdentifier?: string
|
|
|
|
}
|
2019-06-29 15:16:27 +02:00
|
|
|
type ContextMenuCommand = 'mark-t-friendly' | 'mark-transphobic' | 'mark-none' | 'help';
|