import { Resource } from "../resource"; /** * 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; /** * A trivial deserializeAPI function for testing the `save` function. * @param data Data to deserialize. must have an id. */ deserializeAPI(data: Record): 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): 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; }