/** * Percent-decodes a string without throwing on malformed input. * * `decodeURIComponent` throws a `URIError` for a literal percent sign (e.g. `'50% off'`). This * pre-escapes any percent that is not part of a valid escape sequence so it survives decoding as-is. * * @param value The string to decode. * @returns The decoded string, or the original string if it cannot be decoded. */ export declare function safeDecodeURIComponent(value: string): string; /** * Repeatedly percent-decodes a value until it stops changing, unwrapping multiply-encoded input. * * @param value The string to decode. * @returns The fully decoded string. */ export declare function decodeNestedURI(value: string): string; /** * Decodes a value taken from a query string, where `+` denotes a space. * * The HawkSearch API returns query-string-encoded values (`FieldQSValue`, `RawValue`). Plus signs * must be converted to spaces *before* percent-decoding, so that a genuine plus encoded as `%2B` * is preserved. * * @param value The query-string-encoded value. * @returns The decoded value. */ export declare function decodeQueryStringValue(value: string): string;