UNPKG

541 BTypeScriptView Raw
1import { CancellablePromise } from '@theintern/common';
2import Executor, { Config, Events, Plugins } from './Executor';
3import { RuntimeEnvironment } from '../types';
4export default class Browser extends Executor<Events, Config, Plugins> {
5 constructor(options?: {
6 [key in keyof Config]?: any;
7 });
8 get environment(): RuntimeEnvironment;
9 loadScript(script: string | string[], isEsm?: boolean): CancellablePromise<void>;
10 protected _resolveConfig(): CancellablePromise<void | undefined>;
11}
12export { Events, Config };