UNPKG

@grasplabs/grasp

Version:

TypeScript SDK for browser automation and secure command execution in highly available and scalable cloud browser environments

21 lines 570 B
import { GraspSession } from './session'; import { CommandResult } from 'e2b'; export declare class CodeRunner { private session; private logger; /** * Gets or creates a default logger instance * @returns Logger instance */ private getDefaultLogger; constructor(session: GraspSession); private injectCode; run(code: string, options?: { inject?: boolean; syncDir?: string; timeout?: number; }): Promise<CommandResult & { outputDir?: string; }>; } //# sourceMappingURL=code-runner.d.ts.map