import type { RedirectResult } from '../../../context/session_context.ts';
import type { ByteSource } from '../../../io/types.ts';
import type { Decisions } from '../../../policy/decisions.ts';
import type { HandOff } from '../../../policy/types.ts';
import { CallStack } from '../../../shell/call_stack.ts';
import type { JobConsole } from '../../../shell/console/index.ts';
import type { JobTable } from '../../../shell/job_table/index.ts';
import type { ParseScope } from '../../../shell/parse/scope.ts';
import type { PathSpec } from '../../../types.ts';
import type { EvaluationContext } from '../../evaluation.ts';
import type { ExecuteStringFn } from '../builtins/types.ts';
import type { ExecuteNodeFn } from './types.ts';
export declare function runShellFunction(executeNode: ExecuteNodeFn, cmdName: string, source: string, parser: ParseScope, restParts: readonly (string | PathSpec)[], context: EvaluationContext, stdin: ByteSource | null, callStack: CallStack | null, jobTable?: JobTable | null, handed?: HandOff | null, decisions?: Decisions | null, sink?: JobConsole, executeFn?: ExecuteStringFn | null): Promise<RedirectResult>;
//# sourceMappingURL=functions.d.ts.map