import { BadArgument, SystemError } from "effect/PlatformError"; import * as Stream from "effect/Stream"; import type { CommandProps } from "./Command.ts"; export interface CommandRedactor { readonly redact: (value: string) => string; readonly stream: (stream: Stream.Stream) => Stream.Stream; } /** Redacts the `Redacted` env values of a command from its output and errors. */ export declare const makeCommandRedactor: (env: CommandProps["env"]) => CommandRedactor; export declare const redactPlatformReason: (reason: BadArgument | SystemError, redactor: CommandRedactor) => BadArgument | SystemError; //# sourceMappingURL=Redaction.d.ts.map