import type { ByteSource } from '../../../../io/types.ts'; import type { SessionView } from '../../../../ops/types.ts'; import type { Session } from '../../../session/session.ts'; import type { BuiltinCall, ExecuteStringFn, Result } from '../types.ts'; /** * Read input into an indexed array, one element per line. `-d C` splits * on `C`; `-t` strips the delimiter; `-n N` bounds, `-s N` skips, `-O I` * places (and keeps the array's other elements); `-C CB`/`-c Q` calls * back. The array is `MAPFILE` by default; a scalar becomes an array, an * associative one is refused. */ export declare function handleMapfile(args: string[], session: Session, stdin: ByteSource | null, executeFn: ExecuteStringFn, state?: SessionView | null, cmd?: string): Promise; /** The `mapfile` / `readarray` arm; the head word is what diagnostics name. */ export declare function mapfileBuiltin(call: BuiltinCall): Promise; //# sourceMappingURL=mapfile.d.ts.map