1export type XMLValue = boolean | number | string | null | XMLArray | XMLObject; 2export interface XMLArray extends Array<XMLValue> { 3} 4export interface XMLObject { 5 [key: string]: XMLValue | undefined; 6} 7export declare function writeXMLAsync(options: { 8 path: string; 9 xml: any; 10}): Promise<void>; 11export declare function readXMLAsync(options: { 12 path: string; 13 fallback?: string | null; 14}): Promise<XMLObject>; 15export declare function _processAndroidXML(manifest: any): XMLObject; 16export declare function parseXMLAsync(contents: string): Promise<XMLObject>; 17export declare function format(manifest: any, { indentLevel, newline }?: { 18 indentLevel?: number | undefined; 19 newline?: string | undefined; 20}): string; 21/** 22 * Escapes Android string literals, specifically characters `"`, `'`, `\`, `\n`, `\r`, `\t` 23 * 24 * @param value unescaped Android XML string literal. 25 */ 26export declare function escapeAndroidString(value: string): string; 27export declare function unescapeAndroidString(value: string): string; 28