/** * check if string is null, undefined or empty string * @param inputString input string */ export declare function isNullOrEmptyString(inputString: string): boolean; /** * Convert carriage return to html br tags * @param inputString input string */ export declare function convertLineBreak(inputString: string): string; /** * Print the nullString when input is null * @param input input to test if null * @param nullString the string to be display when input is null */ export declare function showForNull(input: any, nullString: string): string; /** * Returns the DC image URL based on document ID, width and height * @param externalDocumentId image ID * @param width image width in pixel * @param height image height in pixel */ export declare function getImageUrl(externalDocumentId: string, width?: number, height?: number): string; /** * Returns Enum Description * @param index index of the enum * @param property Enum to check */ export declare function getEnumDescription(index: number, property: any): string; /** * Returns Description of complex enum type * @param index index of the enum * @param property Enum to check */ export declare function getComplexEnumDescription(index: number, property: any): string; export declare function addSpaceToCapitalLetters(str: string): string; export declare function getImageUrlByImageId(imageId: string, width?: number, height?: number, defaultImage?: boolean): any; /** * Breaks with phone number into 10 digit + extension (if any) * @param value raw phone number, could be 10 digit or with extension */ export declare function parsePhoneNumber(value: any): { phoneNumber: string; extension: string; }; /** * Breaks the zip to 5 digit zip + extension (if any) * @param value raw zip code, could be 5 digit or with extension */ export declare function parseZipCode(value: any): { zipCode: string; extension: string; }; export declare function secureValue(stringValue: string | number, showPercentage?: number, backwards?: boolean, ignoredCharacters?: string[]): string; export declare function splitOrDefaultString(input: string, splitDelimeter: string, emptyValue: any): string[]; export declare function joinOrDefaultString(input: string[], joinDelimeter: string, emptyValue: any): string; export declare function formatArrayOfStringData(input: any, format: string): any[]; export declare function ignoreEmptySpace(value: string): string; /** * Converts camelCase or PascalCase string to hyphenated format, i.e., camel-case, pascal-case, * ignoring white spaces * @param value string in camelCase or PascalCase */ export declare function toParamCase(value: string): string; export declare function stringFormat(str: string, ...args: string[]): string;