import { ActionFilterState, OptionTemplateProps, State } from './TableGenerator.types'; import { DropdownItemTemplateType } from 'primereact/dropdown'; /** * styled components for filters * @description this component is used to style the filters components and the filter container * this filsters are dynamic by a button to add two diferentes types of filters negative or positive */ export declare type Triggers = { dispatch?: (value: ActionFilterState) => void; field?: string | number; index?: number; negative?: boolean; adding?: boolean; value?: string; filtersState?: State; }; export declare const createUpdateAdding: ({ dispatch, field, index, adding }: Triggers) => () => void; export declare const createUpdateNegative: ({ dispatch, field, index, negative }: Triggers) => () => void; export declare const createUpdateTrashState: ({ dispatch, field, index }: Triggers) => () => void; export declare const createUpdateValue: ({ dispatch, field, index }: Triggers) => (value: string) => void; export declare const getNegative: ({ negative, value }: Triggers) => string; export declare const createValueToSearch: ({ field, filtersState }: Triggers) => string; export declare const createOptionTemplate: (_: OptionTemplateProps) => DropdownItemTemplateType;