@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
14 lines • 858 B
TypeScript
import type { ByteSource } from '../../../../../io/types.ts';
import type { PathSpec } from '../../../../../types.ts';
import type { FlagValue } from '../../../../spec/types.ts';
import { type CrossResult, type RunSingle } from '../types.ts';
/**
* Run one awk over operands that span mounts, ARGV intact. awk tells its
* operands apart: FILENAME, FNR, ARGV, nextfile and a `var=value` operand
* between two files all need each file as its own input, which a merged
* stream cannot give. So the program runs once, on the mount of its first
* file, with every operand in order; the files on other mounts read
* through the dispatcher.
*/
export declare function runAwk(scopes: PathSpec[], textArgs: string[], flagKwargs: Record<string, FlagValue>, runSingle: RunSingle, stdin: ByteSource | null): Promise<CrossResult>;
//# sourceMappingURL=awk.d.ts.map