import { BucketSettings } from "./BucketSettings";
export declare class ServerDefaults {
    readonly bucket: BucketSettings;
}
export declare class LicenseInfo {
    readonly licensee: string;
    readonly invoice: string;
    readonly expiryDate: number;
    readonly plan: string;
    readonly deviceNumber: number;
    readonly diskQuota: number;
    readonly fingerprint: string;
    static parse(data: OriginalLicenseInfo): LicenseInfo;
}
/**
 * Represents information about storage
 */
export declare class ServerInfo {
    /**
     * Version storage server
     */
    readonly version: string;
    /**
     * Number of buckets
     */
    readonly bucketCount: bigint;
    /**
     * Stored data in bytes
     */
    readonly usage: bigint;
    /**
     * Server uptime in seconds
     */
    readonly uptime: bigint;
    /**
     * Unix timestamp of the oldest record in microseconds
     */
    readonly oldestRecord: bigint;
    /**
     * Unix timestamp of the latest record in microseconds
     */
    readonly latestRecord: bigint;
    /**
     * License information
     */
    readonly license?: LicenseInfo;
    /**
     * Default settings
     */
    readonly defaults: ServerDefaults;
    static parse(data: OriginalServerInfo): ServerInfo;
}
type OriginalLicenseInfo = {
    licensee: string;
    invoice: string;
    expiry_date: string;
    plan: string;
    device_number: number;
    disk_quota: number;
    fingerprint: string;
};
export type OriginalServerInfo = {
    version: string;
    bucket_count: string;
    uptime: string;
    usage: string;
    oldest_record: string;
    latest_record: string;
    license?: OriginalLicenseInfo;
    defaults: {
        bucket: {
            quota_size: bigint;
            max_block_size: bigint;
            quota_type: string;
            max_block_records: bigint;
        };
    };
};
export {};
