/**
 * Escape the given string, based on the spec [defined by Java](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Properties.html).
 *
 * @param s - string to escape
 * @returns Escaped string
 */
export declare function escape(s: string): string;
/**
 * Escape the given string as property key, based on the spec [defined by Java](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Properties.html).
 *
 * @param s - string to escape
 * @returns Escaped string
 */
export declare function escapeKey(key: string): string;
