import { Resource } from "../common";
/**
 * A fixture class for testing the Resource ABC.
 */
export declare class ResourceFixture extends Resource {
    /**
     * A trivial serializeAPI operation for testing the `save` function.
     */
    serializeAPI(): Record<string, unknown>;
    /**
     * A trivial deserializeAPI function for testing the `save` function.
     * @param data Data to deserialize. must have an id.
     */
    deserializeAPI(data: Record<string, unknown>): void;
    /**
     * A trivial apiFactory funciton for testing the `list` and `get` function.
     *
     * @param data The data from the server
     *
     * @returns A new resource created from the given data.
     */
    static apiFactory(data: Record<string, unknown>): Resource;
    /**
     * The name of the service the resource belongs to.
     */
    static get serviceName(): string;
    /**
     * Name of the resource
     */
    static get resourceName(): string;
    /**
     * A trivial deserializeAPI function.
     */
    serializeRedux(): Record<string, unknown>;
}
