import { RedosDetectorResult } from './redos-detector';
export type ToFriendlyConfig = {
    alwaysIncludeTrails?: boolean;
    resultsLimit?: number;
};
export declare const defaultResultsLimit = 15;
/**
 * Takes a result and converts it to a text representation.
 *
 * Do not try and parse this string programmatically. It may change
 * between any version.
 */
export declare function toFriendly(result: RedosDetectorResult, { resultsLimit, alwaysIncludeTrails, }?: ToFriendlyConfig): string;
