/* eslint-disable @typescript-eslint/naming-convention */ export type GM = { getValue(key: string, defaultValue: T): Promise setValue(key: string, value: string): Promise deleteValue(key: string): Promise listValues(): Promise info: { script: { version: string } } xmlHttpRequest({ method, url, headers, responseType, data }: { method?: string, url: string, headers?: Record, responseType?: 'text' | 'json', data?: string }): Promise<{ status: number response: string }> }