import type { SourceMode } from '../../../commands/builtin/general/interpreter.ts'; import type { ByteSource, IOResult } from '../../../io/types.ts'; import type { LanguageRuntime } from '../../../runtime/language.ts'; import type { InitFlags } from '../../../runtime/python/flags.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 HandlePythonDeps { runtime: LanguageRuntime; } export declare function handlePython(dispatch: DispatchFn, pathScope: PathSpec | null, args: string[], opts: { stdin: ByteSource | null; env: Record; code: string | null; prog?: string; mode?: SourceMode; skipFirstLine?: boolean; initFlags?: InitFlags; signal?: AbortSignal; timeoutSeconds?: number; }, deps: HandlePythonDeps): Promise; export {}; //# sourceMappingURL=handle.d.ts.map