import { DrillDownType } from './router'; /** * Possible types of fields values */ export declare type DataValue = string | number | boolean | null | MultivalueSingleValue[] | undefined | DataItem[]; /** * Instance of `Business component` data * Has unlimited number of fields, which available to widget */ export interface DataItem { /** * Record's identificator */ id: string; /** * Version of last record's edit */ vstamp: number; /** * User fields */ [fieldName: string]: DataValue; } /** * Structure which contain `Multivalue` field's values */ export interface MultivalueSingleValue { /** * Record's identificator */ id: string; /** * Showed value */ value: string; options?: MultivalueSingleValueOptions; } /** * `Multivalue` field's options */ export interface MultivalueSingleValueOptions { /** * Hint for value */ hint?: string; /** * Type of Icon */ icon?: string; drillDown?: string; drillDownType?: DrillDownType; snapshotState?: RecordSnapshotState; } export declare enum RecordSnapshotState { noChange = "noChange", new = "new", deleted = "deleted" }