import type { RunDetails } from '../reporter/RunDetails.js'; /** * Format output of {@link check} using the default error reporting of {@link assert} * * Produce a string containing the formated error in case of failed run, * undefined otherwise. * * @remarks Since 1.25.0 * @public */ declare function defaultReportMessage(out: RunDetails & { failed: false; }): undefined; /** * Format output of {@link check} using the default error reporting of {@link assert} * * Produce a string containing the formated error in case of failed run, * undefined otherwise. * * @remarks Since 1.25.0 * @public */ declare function defaultReportMessage(out: RunDetails & { failed: true; }): string; /** * Format output of {@link check} using the default error reporting of {@link assert} * * Produce a string containing the formated error in case of failed run, * undefined otherwise. * * @remarks Since 1.25.0 * @public */ declare function defaultReportMessage(out: RunDetails): string | undefined; /** * Format output of {@link check} using the default error reporting of {@link assert} * * Produce a string containing the formated error in case of failed run, * undefined otherwise. * * @remarks Since 2.17.0 * @public */ declare function asyncDefaultReportMessage(out: RunDetails & { failed: false; }): Promise; /** * Format output of {@link check} using the default error reporting of {@link assert} * * Produce a string containing the formated error in case of failed run, * undefined otherwise. * * @remarks Since 2.17.0 * @public */ declare function asyncDefaultReportMessage(out: RunDetails & { failed: true; }): Promise; /** * Format output of {@link check} using the default error reporting of {@link assert} * * Produce a string containing the formated error in case of failed run, * undefined otherwise. * * @remarks Since 2.17.0 * @public */ declare function asyncDefaultReportMessage(out: RunDetails): Promise; export { defaultReportMessage, asyncDefaultReportMessage };