UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

10 lines • 689 B
import { IOResult } from '../../../io/types.ts'; import { type OpenStream } from '../../../rs/stream.ts'; import type { PathSpec } from '../../../types.ts'; import type { CommandFnResult, Context } from '../../config.ts'; import type { FlagValue } from '../../spec/types.ts'; /** tr's engine over its sets, or tr's refusal of its operands. Mirrors * Python's `tr_engine`. */ export declare function trEngine(texts: readonly string[], bag: Record<string, FlagValue>): Promise<OpenStream | IOResult>; export declare function trGeneric(engine: OpenStream, paths: PathSpec[], ctx: Context, stream: (p: PathSpec) => AsyncIterable<Uint8Array>): CommandFnResult; //# sourceMappingURL=tr.d.ts.map