/** * this is like encodeURIComponent() but quotes fewer characters. * * See https://github.com/Nanonid/rison/blob/e64af6c096fd30950ec32cfd48526ca6ee21649d/js/rison.js#L107-L118 * * This function is licensed under the MIT license found in the * https://github.com/Nanonid/rison/blob/e64af6c096fd30950ec32cfd48526ca6ee21649d/LICENSE.md. * * @param str */ declare const _escape: (str: string) => string; declare const _unescape: (str: string) => string; declare const RISON: { parse: (text: string) => any; stringify: (value: any) => string; }; declare const ORISON: { parse: (text: string) => any; stringify: (value: Record) => string; }; declare const ARISON: { parse: (text: string) => any; stringify: (value: any[]) => string; }; declare const parse: (text: string) => any; declare const stringify: (value: any) => string; declare const escaped_ARISON: typeof ARISON; declare const escaped_ORISON: typeof ORISON; declare const escaped_RISON: typeof RISON; declare const escaped_parse: typeof parse; declare const escaped_stringify: typeof stringify; declare namespace escaped { export { escaped_ARISON as ARISON, escaped_ORISON as ORISON, escaped_RISON as RISON, _escape as escape, escaped_parse as parse, escaped_stringify as stringify, _unescape as unescape, }; } export { ARISON as A, ORISON as O, RISON as R, _escape as _, _unescape as a, escaped as e, parse as p, stringify as s };