import { RowModel } from '..'; import { RowData, TableFeature } from '../types'; export interface GlobalFacetingInstance { _getGlobalFacetedMinMaxValues?: () => undefined | [number, number]; _getGlobalFacetedRowModel?: () => RowModel; _getGlobalFacetedUniqueValues?: () => Map; /** * Currently, this function returns the built-in `includesString` filter function. In future releases, it may return more dynamic filter functions based on the nature of the data provided. * @link [API Docs](https://tanstack.com/table/v8/docs/api/features/global-faceting#getglobalautofilterfn) * @link [Guide](https://tanstack.com/table/v8/docs/guide/global-faceting) */ getGlobalFacetedMinMaxValues: () => undefined | [number, number]; /** * Returns the row model for the table after **global** filtering has been applied. * @link [API Docs](https://tanstack.com/table/v8/docs/api/features/global-faceting#getglobalfacetedrowmodel) * @link [Guide](https://tanstack.com/table/v8/docs/guide/global-faceting) */ getGlobalFacetedRowModel: () => RowModel; /** * Returns the faceted unique values for the global filter. * @link [API Docs](https://tanstack.com/table/v8/docs/api/features/global-faceting#getglobalfaceteduniquevalues) * @link [Guide](https://tanstack.com/table/v8/docs/guide/global-faceting) */ getGlobalFacetedUniqueValues: () => Map; } export declare const GlobalFaceting: TableFeature;