import type { RequestInit } from 'electron-fetch'; declare type Fetcher = (url: string, options?: RequestInit) => Promise; export interface Utilities { /** * Parsify Desktop math parser's scope, containing all the variables and functions. */ scope: Map; /** * Parsify Desktop HTTP fetcher, based on the Fetch API. */ fetcher: Fetcher; } export default class Parsify { private readonly plugins?; constructor(plugins?: readonly ((expression: string) => Promise)[] | undefined); /** * @param expression Expression you want to parse * @return Parsing result */ parse(expression: string): Promise; } export {};