import { ColumnContentAlignment } from './Workqueue'; import * as React from 'react'; declare enum GQLRegStatus { DECLARED = "DECLARED", REGISTERED = "REGISTERED", CERTIFIED = "CERTIFIED", REJECTED = "REJECTED" } export interface IStatus { type: GQLRegStatus | null; practitionerName: string; timestamp: string | null; practitionerRole: string; officeName: string | Array | null; } export interface IColumn { label?: string | React.ReactNode; /** Width in percentage */ width: number; key: string; errorValue?: string; alignment?: ColumnContentAlignment; isActionColumn?: boolean; isIconColumn?: boolean; color?: string; isSortable?: boolean; isSorted?: boolean; icon?: JSX.Element | React.ReactNode; sortBy?: string; sortFunction?: (key: string) => void; } export interface IFooterFColumn { label?: string; width: number; } export interface IDynamicValues { [key: string]: string | number | boolean | IAction[] | Array | IStatus[] | React.ReactNode[] | JSX.Element | Date | null | undefined | Record; } export interface IActionObject { label: string; handler: (e?: React.MouseEvent) => void; icon?: () => React.ReactNode; disabled?: boolean; } export interface IActionComponent { actionComponent: JSX.Element; } export type IAction = IActionObject | IActionComponent; export {}; //# sourceMappingURL=types.d.ts.map