import { ReactNode } from 'react'; import { ErrorPageProps } from '../../../layouts/ErrorPage'; import { EmptyStateProps } from '../../EmptyState'; type TableContentStateFrame = { displayMode?: 'body-overlay' | 'full-content'; borderLeftTopRadiusRounded?: boolean; borderRightTopRadiusRounded?: boolean; borderLeftBottomRadiusRounded?: boolean; borderRightBottomRadiusRounded?: boolean; custom?: ReactNode; }; export type TableContentStateEmptyOverlay = { kind: 'empty'; } & TableContentStateFrame & Partial; export type TableContentStateErrorOverlay = { kind: 'error'; errorPageProps?: Partial; } & TableContentStateFrame; export type TableContentStateOverlay = TableContentStateEmptyOverlay | TableContentStateErrorOverlay; export type TableCanvasEmptyStateConfig = TableCanvasContentStateBase & Partial; type TableCanvasContentStateBase = { enabled: boolean; custom?: ReactNode; }; export type TableCanvasErrorStateConfig = TableCanvasContentStateBase & Partial; export {};