import { PopperContentProps } from "@radix-ui/react-popover"; import { BaseOption, BaseRecord, HttpError } from "@refinedev/core"; import { UseTableReturnType } from "@refinedev/react-table"; import { CellContext, Column, ColumnDefTemplate } from "@tanstack/react-table"; import React, { FC, ReactElement } from "react"; import { RowActions } from "./actions"; import { TableFilterDateRangePickerFilter, TableFilterDropdown, TableFilterSearchColumn } from "./fields"; export type TableListFilterOption = BaseOption & { icon?: React.ComponentType<{ className?: string; }>; }; export type TableFilterProps = { column: Column; title?: string; numberOfMonths?: number; align?: PopperContentProps["align"]; options?: TableListFilterOption[]; }; export type ColumnProps = { id: string; accessorKey: string; enableSorting?: boolean; enableHiding?: boolean; header?: string | FC<{ table: UseTableReturnType; }>; cell?: ColumnDefTemplate>; children?: ReactElement; filter?: FC>; }; export type TableProps = { children?: ReactElement>[]; showHeader?: boolean; table: UseTableReturnType; }; export declare function Table({ children, table, showHeader }: TableProps): import("react/jsx-runtime").JSX.Element; export declare namespace Table { var Column: (props: ColumnProps) => React.ReactElement> | undefined; var CheckAll: { ({ table, children }: { children?: React.ReactNode; } & { table: UseTableReturnType; }): import("react/jsx-runtime").JSX.Element; actions(): void; }; var Actions: typeof RowActions; var Action: (props: import("./actions").RowActionProps) => import("react/jsx-runtime").JSX.Element; var EditAction: typeof import("./actions/edit").EditAction; var ShowAction: typeof import("./actions/show").ShowAction; var DeleteAction: typeof import("./actions/delete").DeleteAction; var Filter: { DateRangePicker: typeof TableFilterDateRangePickerFilter; Dropdown: typeof TableFilterDropdown; Search: typeof TableFilterSearchColumn; }; var displayName: string; } //# sourceMappingURL=index.d.ts.map