import { Entity } from "./entity";
import { EntityData } from "./entity-data";

/**
 * Represents a 'data item' that holds the actual data inside as well
 * as the metadata, provider and culture for this item
 */
export declare interface DataItem extends EntityData {
    /**
     * Gets the actual data (the item).
     */
    readonly data: any;
    /**
     * Gets the metadata information for this item.
     */
    readonly metadata: Entity;
    /**
     * Gets the name of the provider for this item.
     */
    readonly provider: string;
    /**
     * Gets the assigned culture of the item.
     */
    readonly culture: string;

    /**
     * Gets the identifier of the item. Returns null if there is no item.
     */
    readonly key: string;

    /**
     * Gets the title (main short field) of the item.
     */
    readonly title: string;
}
