import type { ByteSource, IOResult } from '../../../io/types.ts'; import type { LanguageRuntime } from '../../../runtime/language.ts'; import type { DispatchFn } from '../../../runtime/types.ts'; import type { PathSpec } from '../../../types.ts'; import type { ExecutionNode } from '../../types.ts'; type Result = [ByteSource | null, IOResult, ExecutionNode]; export interface HandleJsDeps { runtime: LanguageRuntime; } export declare function handleJs(dispatch: DispatchFn, pathScope: PathSpec | null, args: string[], opts: { stdin: ByteSource | null; env: Record; code: string | null; module: boolean; signal?: AbortSignal; timeoutSeconds?: number; }, deps: HandleJsDeps): Promise; export {}; //# sourceMappingURL=handle.d.ts.map