import type { SanitizedCollectionConfig } from '../../collections/config/types.js';
import type { BlockField, DateField, Field, FieldBase, Labels, RelationshipField, SelectField } from '../../fields/config/types.js';
import type { FormFieldBase } from '../types.js';
export type RowData = Record<string, any>;
export type CellComponentProps = {
    blocks?: {
        labels: BlockField['labels'];
        slug: string;
    }[];
    className?: string;
    dateDisplayFormat?: DateField['admin']['date']['displayFormat'];
    displayPreview?: boolean;
    fieldType?: Field['type'];
    isFieldAffectingData?: boolean;
    label?: FormFieldBase['label'];
    labels?: Labels;
    link?: boolean;
    name: FieldBase['name'];
    onClick?: (args: {
        cellData: unknown;
        collectionSlug: SanitizedCollectionConfig['slug'];
        rowData: RowData;
    }) => void;
    options?: SelectField['options'];
    relationTo?: RelationshipField['relationTo'];
    richTextComponentMap?: Map<string, React.ReactNode>;
    schemaPath: string;
};
export type DefaultCellComponentProps<T = any> = {
    cellData: T;
    customCellContext?: {
        collectionSlug?: SanitizedCollectionConfig['slug'];
        uploadConfig?: SanitizedCollectionConfig['upload'];
    };
    rowData: RowData;
} & CellComponentProps;
//# sourceMappingURL=Cell.d.ts.map