///
import { IMTOMAttachments } from './types';
export declare function passwordDigest(nonce: string, created: string, password: string): string;
export declare const TNS_PREFIX = "__tns__";
/**
* Find a key from an object based on the value
* @param {Object} Namespace prefix/uri mapping
* @param {*} nsURI value
* @returns {String} The matching key
*/
export declare function findPrefix(xmlnsMapping: any, nsURI: any): string;
export declare function splitQName(nsName: T): {
prefix: string;
name: T;
} | {
prefix: string;
name: string;
};
export declare function xmlEscape(obj: any): any;
export declare function parseMTOMResp(payload: Buffer, boundary: string, callback: (err?: Error, resp?: IMTOMAttachments) => void): Promise;