import { BaseRecord, HttpError } from '@refinedev/core'; import { ReactNode } from 'react'; import { TableProps, PrimaryTableCol } from 'tdesign-react/esm'; import { ListformData } from '../data'; import { useTableProps } from '../table'; type Value = (string | number)[]; interface SpecProps { idField?: string; value?: Value; defaultValue?: Value; onChange?: (value?: Value) => void; options?: ListformData[]; resource: string; table?: TableProps; tableHook?: useTableProps; tableColumns?: PrimaryTableCol[]; filterRender?: ReactNode; sort?: boolean; } export declare const ListSelect: ({ options, resource, table, tableHook, tableColumns, filterRender, sort, idField, ...props }: SpecProps) => import("react/jsx-runtime").JSX.Element; interface ModalSelectProps { open?: boolean; onClose?: () => void; onSelect?: (value?: Record[]) => void; resource?: string; table?: TableProps; tableHook?: useTableProps; columns?: PrimaryTableCol[]; filterRender?: ReactNode; idField?: string; } export declare const ModalSelect: ({ resource, columns, table, tableHook, open, onClose, onSelect, filterRender, idField, }: ModalSelectProps) => import("react/jsx-runtime").JSX.Element; export {};