import { PropertyType } from '@limetech/lime-web-components';
/**
 * The type of data in a cell. Mostly mirrors CRM `PropertyType`,
 * with `'email'` added as an extra since the CRM models emails
 * as `link` type distinguished by label.
 */
export type DataCellType = PropertyType | 'email';
export interface DataCell {
    /** Human-readable label, e.g. "Visiting city" */
    label: string;
    /**
     * The cell value.
     * For most types this is a pre-formatted display string.
     * For types where the component handles formatting internally
     * (e.g. `date`/`time` → relative date, `percent` → progress bar),
     * pass the raw value (ISO date string, number, etc.).
     */
    value: any;
    /**
     * The data type of the value.
     * Determines how the cell is rendered — e.g. `phone` renders
     * as a `tel:` link, `email` as a `mailto:` link, `link` as a
     * clickable URL, `percent` as a progress bar.
     *
     * When omitted, the value is rendered as plain text.
     */
    type?: DataCellType;
    /**
     * The property path on the source LimeObject (e.g. `"company"`).
     * Used by interactive cell types like `belongsto` to resolve
     * the related object for navigation.
     */
    field?: string;
    /**
     * When `true`, the cell belongs to the secondary (less prominent) group.
     * Rendered in a separate `<dl>` with class `"secondary"`.
     */
    secondary?: boolean;
}
//# sourceMappingURL=data-cells.types.d.ts.map