import { Optional, Resource } from "../../common";
import { APIProfileUsefulRecommendation, StoreProfileUsefulRecommendation } from "./interfaces";
export declare class ProfileUsefulRecommendation extends Resource {
    /**
     * The profile the profile-useful-recommendation belongs to.
     */
    profileId: string;
    /**
     * The recommendation the profile-useful-recommendation belongs to.
     */
    recommendationId: string;
    /**
     * The usefulness of profile-useful-recommendation.
     */
    wasUseful: boolean;
    /**
     * The timestamp of profile-useful-recommendation
     */
    timestamp: number;
    constructor(profileId: string, traitId: string, wasUseful: boolean, timestamp: number);
    /**
     * The name of the profile-useful-recommendation resource on the API server.
     */
    static get resourceName(): string;
    /**
     * The name of the service containing the profile-useful-recommendation resource.
     */
    static get serviceName(): string;
    /**
     * Convert the profile-useful-recommendation into a JSON serializable object for the API server.
     */
    serializeAPI(): Optional<APIProfileUsefulRecommendation, "id">;
    /**
     * Deserialize the data from the API server.
     *
     * @param data The profile-useful-recommendation data from the API server.
     */
    deserializeAPI(data: APIProfileUsefulRecommendation): void;
    /**
     * Serialize the profile-useful-recommendation into a format for storing in the Redux store.
     */
    serializeRedux(): StoreProfileUsefulRecommendation;
    /**
     * Create a profile-useful-recommendation from the API server data.
     *
     * @param data Data from the api server.
     *
     * @returns The profile-useful-recommendation object.
     */
    static apiFactory(data: APIProfileUsefulRecommendation): ProfileUsefulRecommendation;
    /**
     * Create a profile-useful-recommendation from the Redux store data.
     *
     * @param data Data from the api server.
     *
     * @returns The profile-useful-recommendation object.
     */
    static reduxFactory(data: StoreProfileUsefulRecommendation): ProfileUsefulRecommendation;
}
