/**
 * An utility service for data.
 */
export declare class DataUtils {
    constructor();
    /**
     * Method to abbreviate the text given
     */
    abbreviate(text: string, append?: string): string;
    /**
     * Method to find the byte size of the string provides
     */
    byteSize(base64String: string): string;
    private _endsWith(suffix, str);
    private _paddingSize(value);
    private _size(value);
    private _formatAsBytes(size);
    /**
     * Method to open file
     */
    openFile(type: string, data: string): void;
    /**
     * Method to convert the file to base64
     */
    toBase64(file: File, cb: Function): void;
}
