///
import * as Q from "q";
export interface GetOrCreateResult {
created: boolean;
result: T;
}
export declare function sharedSubString(string1: string, string2: string): string;
export declare function sortStringArray(list: any): string[];
export declare function isDirectoryExists(path: string): boolean;
export declare function isFileExists(path: string): boolean;
export declare function isNullOrWhitespace(input: any): boolean;
export declare function trimToEmptyString(input: any): any;
export declare function appendTextToFileSync(filePath: string, fileContent: string): void;
export declare function prependTextToFileSync(filePath: string, fileContent: string): void;
export declare function insertTextToFileSync(filePath: string, prependFileContent?: string, appendFileContent?: string): void;
export declare function trimEnd(data: string, trimChar: string): string;
export declare function readXmlFileAsJson(filePath: string): Q.Promise;
export declare function readFile(filePath: string, encoding: string): Q.Promise;
export declare function convertXmlStringToJson(xmlContent: string): Q.Promise;
export declare function writeJsonAsXmlFile(filePath: string, jsonContent: any): Q.Promise;
export declare function writeFile(filePath: string, fileContent: string): Q.Promise;
export declare function addPropToJson(obj: any, propName: string, value: any): void;
export declare function readXmlFileAsDom(filePath: string): CheerioStatic;