export declare class StringUtils {
    static ParseString(arg: any, defaultValue?: string): string;
    static AsLowerCaseIfString(str: any): any;
    /**
     * Example usage:
     * str = 'File is to large to upload. Maximum file size is {0} Mb'
     * format = [FileUtils.MaxUploadSizeInMb]
     * output = File is to large to upload. Maximum file size is 3 Mb
     *
     * str = '{0} is way better than {1}'
     * format = ['Angular2','Angular1']
     * output = Angular2 is way better than Angular1
     *
     * @param str The string that contains {0} and {1} etc, for replacement by given format data
     * @param format The format replacement data
     */
    static Format(str: string, format: any[]): string;
    static IsString(str: any): boolean;
    static IsStringWithLength(str: any): boolean;
    static RemoveLastChars(str: string, amount: number): string;
    static StringToStringArray(str: string): string[];
    static CloneStringArray(strArray: string[]): string[];
    static ToStringOrDefault(arg: any, defaultReturnVal?: string): string;
    static CreateGuid(): string;
}
