mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-09 01:44:37 +08:00
25 lines
777 B
TypeScript
25 lines
777 B
TypeScript
/**
|
|
* Encode special characters in `value`.
|
|
*
|
|
* @param {string} value
|
|
* Value to encode.
|
|
* @param {Options} [options]
|
|
* Configuration.
|
|
* @returns {string}
|
|
* Encoded value.
|
|
*/
|
|
export function stringifyEntities(value: string, options?: Options | undefined): string;
|
|
/**
|
|
* Encode special characters in `value` as hexadecimals.
|
|
*
|
|
* @param {string} value
|
|
* Value to encode.
|
|
* @param {LightOptions} [options]
|
|
* Configuration.
|
|
* @returns {string}
|
|
* Encoded value.
|
|
*/
|
|
export function stringifyEntitiesLight(value: string, options?: import("./core.js").CoreOptions | undefined): string;
|
|
export type Options = import('./core.js').CoreOptions & import('./util/format-smart.js').FormatSmartOptions;
|
|
export type LightOptions = import('./core.js').CoreOptions;
|