import type { StringOptions } from '../publicTypes/options.js'; /** * The name of the string options in a failure message, in camel case: the position option (as `compareText` checks them, * only one applies), then the options that alter the actual value before the comparison: `trimmed`, `ignoringCase` and * `replacing`. E.g. `containingTrimmedIgnoringCase`. It is '' when no option applies, so the expected value is printed as is. * - `trimmed`: `trim` is on by default, so it is named only when it changed the actual value (`trimmed: true`), not when * the value has no spaces at the start or the end, or when the value is not known. * - `forRegExp`: for a RegExp expected value, the position options do not apply, and `ignoreCase` is the `i` flag of the * RegExp, so only `trimmed` and `replacing` are named. * - `asString` is not named: it converts the actual value, it does not change how it is compared. */ export declare const stringOptionsName: (options: StringOptions, { forRegExp, trimmed }?: { forRegExp?: boolean | undefined; trimmed?: boolean | undefined; }) => string; /** Whether the default `trim` changes this actual value */ export declare const isTrimmedByOptions: (actual: unknown, options: StringOptions) => boolean;