/** * @hidden */ export declare class StringUtils { /** * Check if stringified object is empty * @param strObj */ static isEmptyObj(strObj?: string): boolean; static startsWith(str: string, search: string): boolean; static endsWith(str: string, search: string): boolean; /** * Parses string into an object. * * @param query */ static queryStringToObject(query: string): T; /** * Trims entries in an array. * * @param arr */ static trimArrayEntries(arr: Array): Array; /** * Removes empty strings from array * @param arr */ static removeEmptyStringsFromArray(arr: Array): Array; /** * Attempts to parse a string into JSON * @param str */ static jsonParseHelper(str: string): T | null; /** * Tests if a given string matches a given pattern, with support for wildcards and queries. * @param pattern Wildcard pattern to string match. Supports "*" for wildcards and "?" for queries * @param input String to match against */ static matchPattern(pattern: string, input: string): boolean; } //# sourceMappingURL=StringUtils.d.ts.map