import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { DefineComponent } from 'vue'; import { ExtractPropTypes } from 'vue'; import { PropType } from 'vue'; import { PublicProps } from 'vue'; declare type __VLS_NonUndefinedable = T extends undefined ? never : T; declare type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; declare type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; declare type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; declare type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; declare const _default: __VLS_WithTemplateSlots, { activeFilterCount: number; onApply: () => undefined; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { reset: () => void; dismiss: () => void; }, string, PublicProps, Readonly, { activeFilterCount: number; onApply: () => undefined; }>>> & Readonly<{ onReset?: (() => any) | undefined; onDismiss?: (() => any) | undefined; }>, { onApply: OnApplyFilters; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { default?(_: {}): any; }>; export default _default; export declare interface FilterDropdownProps { label: string; /** The name of a filter group */ group: string; onApply?: OnApplyFilters; } /** * A function that is called when the user clicks one of the "Apply" buttons in DataViewFilters. * * A return value of `{ preventDismiss: true }` can be used to prevent the DataViewFilters drawer or a FilterDropdown from closing, such as when some filters have invalid values. */ declare type OnApplyFilters = () => Promise<{ preventDismiss?: boolean; } | void> | { preventDismiss?: boolean; } | void; export { }