import { IOResult } from '../../../../io/types.ts'; import { type FileStat, PathSpec } from '../../../../types.ts'; import type { CommandOpts } from '../../../config.ts'; import type { DispatchFn, OperandRun, RunSingle } from './types.ts'; import type { FlagValue } from '../../../spec/types.ts'; export declare function runOperands(runSingle: RunSingle, cmdName: string, scopes: PathSpec[], texts: string[], flagKwargs: Record, stdinBytes?: Uint8Array | null): Promise; export declare function mergeOperandIos(results: OperandRun[], exitCode: number): Promise; export declare function flatten(scopes: PathSpec[]): PathSpec[]; export declare function crossOpts(flagKwargs: Record): CommandOpts; export declare function statOp(dispatch: DispatchFn): (p: PathSpec) => Promise; export declare function readdirOp(dispatch: DispatchFn): (p: PathSpec) => Promise; export declare function readBytesOp(dispatch: DispatchFn): (p: PathSpec) => Promise; export declare function streamOp(dispatch: DispatchFn): (p: PathSpec) => AsyncIterable; //# sourceMappingURL=utils.d.ts.map