import { BaseResource } from "../../common";
import { APIResultStats, StoreResultStats } from "./interfaces";
export declare class ResultStats extends BaseResource {
    profileId: string;
    total: number;
    constructor(profileId: string, total: number);
    static get resourceName(): string;
    static get serviceName(): string;
    /**
     * Convert the result stats object into a JSON serializable object for the API server.
     */
    serializeAPI(): APIResultStats;
    /**
     * Deserialize the data from the API server.
     *
     * @param data The result stats object data from the API server.
     */
    deserializeAPI(data: APIResultStats): void;
    /**
     * Serialize the result stats object into a format for storing in the Redux store.
     */
    serializeRedux(): StoreResultStats;
    /**
     * Create result stats object from the API server data.
     *
     * @param data Data from the api server.
     *
     * @returns The result stats object.
     */
    static apiFactory(data: APIResultStats): ResultStats;
    /**
     * Create result stats object from the Redux store data.
     *
     * @param data Data from the api server.
     *
     * @returns The result stats object.
     */
    static reduxFactory(data: StoreResultStats): ResultStats;
    /**
     * Returns array with result stats data.
     *
     * @param profileIds Ids of the profiles.
     */
    static get(profileIds: string[]): Promise<ResultStats[]>;
}
