import { type ModalProps } from './Modal.vue'; import type { SearchBarProps } from './SearchBar.vue'; import type { DrawerStyles, OnApplyFilters } from './_internal/components/DataViewFilters/DataViewFilters.types'; import type { UseFiltersReturnType } from './_internal/components/DataViewFilters/useFilters'; export interface DataViewFiltersProps { filtersLabelText?: string; /** * Props to pass to the `SearchBar` component. */ searchBarProps?: SearchBarProps; showSearch?: boolean; /** 'cascade' displays all fields within every filter group; 'nested' displays only the group names and requires clicking a group to view its fields. */ drawerStyle?: DrawerStyles; drawerProps?: ModalProps; /** * @deprecated The `activeGroup` prop is a sufficient replacement for this prop. A falsy `activeGroup` will hide the button and a truthy `activeGroup` will show it (when the `drawerStyle` is 'nested'). * * **Note:** This prop has no effect when using a "cascade" `drawerStyle`. */ showDrawerPreviousButton?: boolean; /** * Required when using filters. This prop should contain the return value of the `useFilters()` composable. */ useFiltersInstance?: UseFiltersReturnType; onApply?: OnApplyFilters; /** * The name of the active filter group. The active filter group is determined by which instance of FilterDropdown or FilterDrawerItem is open. * * **Note:** This prop is required when using a "nested" `drawerStyle`, but has no effect when using a "cascade" `drawerStyle`. */ activeGroup?: string; } export interface DataViewFiltersSlots { default?: () => unknown; drawer?: () => unknown; 'filters-label'?: () => unknown; } export * from './_internal/components/DataViewFilters/DataViewFilters.keys'; export * from './_internal/components/DataViewFilters/DataViewFilters.types'; export * from './_internal/components/DataViewFilters/useFilters'; declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: __VLS_WithSlots any; previous: () => any; "open-drawer": () => any; "reset-group": () => any; "reset-all": () => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ onDismiss?: (() => any) | undefined; onPrevious?: (() => any) | undefined; "onOpen-drawer"?: (() => any) | undefined; "onReset-group"?: (() => any) | undefined; "onReset-all"?: (() => any) | undefined; }>, { filtersLabelText: string; searchBarProps: SearchBarProps; showSearch: boolean; drawerStyle: DrawerStyles; drawerProps: ModalProps; showDrawerPreviousButton: boolean; useFiltersInstance: UseFiltersReturnType; onApply: OnApplyFilters; activeGroup: string; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, DataViewFiltersSlots>; type __VLS_WithSlots = T & { new (): { $slots: S; }; };