import { IPositronContext } from "./IPositronContext"; export default class PositronInBrowser { static isAvailable: boolean; /** * This method does not accept any parameters. * @param fx Function to be executed in Positron App */ static run(fx: (this: IPositronContext) => T): Promise; /** * This method accepts parameters as an object with fields * that does not contain any cyclic references. As this will * be sent to Positron App as JSON. * @param a Arguments object without any cyclic references. * @param fx Function to be executed in Positron App. */ static run(a: P, fx: (this: IPositronContext, p: P) => T): Promise; }