export declare function generateRandomCode(length: number): string; export declare const hasText: (str: string) => boolean; export declare function markKey(keyStr: string): string; export declare function filterHtmlName(str: string): string; export declare function alphaNumericToString(str: string): string[]; export declare function unescapeHTML(str: string): string; export declare const filterForNumberOnly: (str: string) => string; export declare function isNumberOnly(str: string): boolean; export declare function filterForInvalidCharacter(str: string, replaceCharacter?: string): string; export declare function filterNotNumberAndDivideChar(str: string): string; export declare function stringNumberToList(str: string): number[]; export declare function htmlEncode(rawStr: string): string; export declare function filterNonAlphaNumeric(str: string, replaceWith?: string): string; export declare const leftString: (string: string, count: number) => string; export declare const rightString: (string: string, count: number) => string; export declare function alphaNumericToListString(str: string): string[]; export declare function renderTemplate(string: string, context: any): string; export declare function formatBytes(bytes: number, decimals?: number): string; export declare const parseTemplate: (str: string) => { template: string; variable: string; }[]; export declare const parseTemplatePartner: (str: string) => { template: string; variable: string; }[]; export declare function stringParamsReplace(message: string, replaceFunc: Function): { params: { template: string; variable: string; }[]; message: string; }; export declare function templateMessageParamsReplace(rawMessage: any, replaceFunc: Function): { rawMessage: any; params: any; }; export declare function valueParamsReplace(context: any, params: Array, replaceFunc: Function): any; export declare function toLowerCaseNonAccentVietnamese(str: any): any; export declare function toNonAccentVietnamese(str: any): any;