import { type ByteSource } from '../../../../../io/types.ts';
import { PathSpec } from '../../../../../types.ts';
import type { FlagValue } from '../../../../spec/types.ts';
import type { CrossResult, DispatchFn } from '../types.ts';
/**
 * GNU sed 4.9 keeps filenames and file boundaries for F and -s, and
 * shares output files and quit state even under -i. Run one machine
 * over the expanded operands through their owning mounts' dispatcher.
 */
export declare function runSed(scopes: PathSpec[], texts: string[], bag: Record<string, FlagValue>, dispatch: DispatchFn, stdin: ByteSource | null, cwd: string, argv: readonly string[], env?: Record<string, string>): Promise<CrossResult>;
//# sourceMappingURL=sed.d.ts.map