import type { DiagnosedStack, StackDiagnosis } from '../../actions/diagnose';
import type { ActionLessMessage } from '../io/private';
/**
 * Turn the given stack diagnosis result into an IO message, with default message formatting
 *
 * The default message formatting is what the CLI will print.
 */
export declare function hostMessageFromDiagnosis(stack: DiagnosedStack): ActionLessMessage<any>;
/**
 * Turn the given diagnosis into a DeploymentError
 */
export declare function throwDeploymentErrorFromDiagnosis(diag: StackDiagnosis): never;
//# sourceMappingURL=diagnosis-formatting.d.ts.map