/** * Consumer-side rendering of a `DockerCliError` for a human-readable sink * (progress callback, deploy log, thrown `Error` message). * * The `DockerProvider` seam in deploy-core is typed over a plain `Error`, so * the stderr tail cannot survive past the CLI/worker provider as structured * data — folding it into the message here is the only way docker's own words * reach the deploy log. * * Masking boundary: `error.message` is masked here, once. The tail is NOT — * `makeError` masks each line and only then bounds it (mask-before-truncate), * so a second pass would violate one-mask-per-output-path. */ import type { DockerCliError } from "./dockerCliSchemas.js"; export declare const STDERR_TAIL_HEADER = "--- docker stderr tail ---"; export declare const STDERR_TAIL_FOOTER = "--- end ---"; export declare function describeDockerFailure(error: DockerCliError): string;