import { UserAddon } from "../../common";
import { APIProfileCount, StoreProfileCount } from "./interfaces";
export declare class ProfileCount extends UserAddon {
    /**
     * The number of credits the user has.
     */
    count: number;
    constructor(userId: string, count: number);
    /**
     * The name of the ProfileCount resource on the API server.
     */
    static get resourceName(): string;
    /**
     * The name of the service containing the ProfileCount resource.
     */
    static get serviceName(): string;
    /**
     * Convert the ProfileCount into a JSON serializable object for the API server.
     */
    serializeAPI(): APIProfileCount;
    /**
     * Deserialize the data from the API server.
     *
     * @param data The ProfileCount data from the API server.
     */
    deserializeAPI(data: APIProfileCount): void;
    /**
     * Serialize the ProfileCount into a format for storing in the Redux store.
     */
    serializeRedux(): StoreProfileCount;
    /**
     * Create a ProfileCount from the API server data.
     *
     * @param data Data from the api server.
     *
     * @returns The ProfileCount object.
     */
    static apiFactory(data: APIProfileCount): ProfileCount;
    /**
     * Create a ProfileCount from the Redux store data.
     *
     * @param data Data from the api server.
     *
     * @returns The ProfileCount object.
     */
    static reduxFactory(data: StoreProfileCount): ProfileCount;
}
