export declare class StringHelper {
    static genString: (length?: number) => string;
    static withComma: (value?: number | string) => string;
    static split: (str: string | null | undefined, separator: string | RegExp) => string[];
    static joinURL: (value: any, value2: any) => string;
    static truncate: (str: any, num?: number) => any;
    static getError: (errorData: {
        code: string;
        message: any;
        fields: object;
    } | any, defaultErrorMessage?: string) => any;
}
