import type { ByteSource } from '../../../../io/types.ts'; import type { Session } from '../../../session/session.ts'; import type { BuiltinCall, ExecuteStringFn, Result } from '../types.ts'; /** * Run a command with words read from stdin appended (GNU xargs). * * GNU xargs execs the command directly, so every input word must reach * it as exactly one argv token. The inner line is built with shellJoin: * a plain join would be re-parsed by the shell, splitting words with * whitespace and executing $(...) found in input. */ export declare function handleXargs(executeFn: ExecuteStringFn, args: readonly string[], session: Session, stdin: ByteSource | null): Promise; /** The `xargs` arm. */ export declare function xargsBuiltin(call: BuiltinCall): Promise; //# sourceMappingURL=xargs.d.ts.map