import type { ByteSource } from '../../../../io/types.ts'; import type { Session } from '../../../session/session.ts'; import type { SessionView } from '../../../../ops/types.ts'; import type { BuiltinCall, Result } from '../types.ts'; /** * Read one line (or delimited record, or character count) into * variables, with bash's option surface. `-r` turns off backslash * processing; `-d C` reads to `C`; `-n N`/`-N N` bound the read; `-a * NAME` stores fields in an array; `-t` accepts a timeout (0 answers * whether a source is present); `-p -s -e -i` are non-tty no-ops; `-u * 0` is this shell's input and any other descriptor is refused. The * status is 1 when end of input ended the read. */ export declare function handleRead(args: string[], session: Session, stdin: ByteSource | null, state?: SessionView | null): Promise; /** The `read` arm. */ export declare function readBuiltin(call: BuiltinCall): Promise; //# sourceMappingURL=read.d.ts.map