@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
8 lines • 739 B
TypeScript
import type { ByteSource } from '../../../io/types.ts';
import { FlagView } from '../../spec/flag_view.ts';
import { LineFacts, type PathSpec, type StatFn } from '../../../types.ts';
import type { CommandFnResult, Context } from '../../config.ts';
export declare function gunzipGeneric(paths: PathSpec[], ctx: Context, stream: (p: PathSpec) => AsyncIterable<Uint8Array>, write: (p: PathSpec, data: ByteSource) => Promise<void>, unlink: (p: PathSpec) => Promise<void>, stat?: StatFn): Promise<CommandFnResult>;
/** A gunzip line replaces its file operands unless `-c` or `-t`. Mirrors Python's `facts`. */
export declare function facts(fl: FlagView, operands: readonly (string | PathSpec)[]): LineFacts;
//# sourceMappingURL=gunzip.d.ts.map