import { IKeyObjectValue } from '../type';
import '@alwatr/polyfill-has-own';
interface IRunResult {
    status: number;
    errors: any[];
    requestList?: any[];
    cacheData?: any;
    options?: any;
}
export declare function runScript(strJs: string, options: IKeyObjectValue, isNew: boolean, version: number): Promise<IRunResult>;
export declare function removeScript(id: string): void;
export interface IScriptWorker {
    runScript: typeof runScript;
    removeScript: typeof removeScript;
}
export {};
