import type { ListFieldLayout } from '../../../../hooks/useDocumentLayout';
import type { Schema, Data } from '@strapi/types';
import type { To } from 'react-router-dom';
interface CellContentProps extends Omit<ListFieldLayout, 'cellFormatter'> {
    content: Schema.Attribute.Value<Schema.Attribute.AnyAttribute>;
    rowId: Data.ID;
    /**
     * When set, the cell renders its value as a navigational link to the entry.
     * Used for the primary (first scalar) column so users can open an entry in a
     * new tab via right-click / cmd+click / middle-click, while a plain click
     * still navigates within the SPA. Only passed for non-interactive cell types.
     */
    linkTo?: To;
}
declare const CellContent: ({ content, mainField, attribute, rowId, name, linkTo }: CellContentProps) => import("react/jsx-runtime").JSX.Element;
declare const hasContent: (content: CellContentProps["content"], mainField: CellContentProps["mainField"], attribute: CellContentProps["attribute"]) => boolean;
export { CellContent, hasContent };
export type { CellContentProps };
