import React, { ReactNode } from 'react'; import { Filter } from '../FilterInput/index.js'; import { TableProps } from '../Table/index.js'; import { IconProps } from '../Icon/index.js'; import { PartialByKeys } from '../../utils/common.js'; export type BasedFinderProps = Omit, 'data'> & { variant?: 'regular' | 'modal'; children?: ReactNode; throttleDelay?: number; bufferPageSize?: number; customEndpoint?: string; filter?: Filter; onFilterChange?: React.Dispatch>; search?: string; onSearchChange?: React.Dispatch>; }; /** * The BasedFinder component enables the visualization of real-time data based on specific BasedQueries and supports displaying information in table, grid, and calendar formats. * * @param {BasedFinderProps} props - The properties for configuring the BasedFinder. */ declare function BasedFinder({ variant, children, schemaType, schema: schemaProp, rowHeight: rowHeightProp, colVisibility: colVisibilityProp, rowActions, disabledRows, maxSelectedRows, bulkActions, customEndpoint, disabled, bufferPageSize, throttleDelay, selectedRows: selectedRowsProp, colHidden: colHiddenProp, sort: sortProp, filter: filterProp, search: searchProp, selectableText, onSortChange, onFilterChange, onSearchChange, onSelectedRowsChange, onRowClick, onRowSelect, onAddNewItem, }: BasedFinderProps): import("react/jsx-runtime").JSX.Element; declare namespace BasedFinder { var Header: React.FC; var Body: React.FC<{}>; } export type BasedFinderHeaderProps = { title?: string; icon?: IconProps['variant']; leadButton?: ReactNode; trailButton?: ReactNode; filterButton?: boolean; sortButton?: boolean; searchButton?: boolean; viewSettingsButton?: boolean; }; export { BasedFinder };