import { Moment } from 'moment'; import { HeaderInterface, TextHeaderInterface, TextSearchHeaderInterface, RelationSelectHeaderInterface, EnumSelectHeaderInterface, DefaultSelectHeaderInterface, MultipleRelationSelectHeaderInterface, MultipleEnumSelectHeaderInterface, MultipleDefaultSelectHeaderInterface, PeriodCalendarHeaderInterface, CalendarHeaderInterface, RangeNumberHeaderInterface } from '../tables/headers/HeadersTableInterfaces'; import { paramsSerializationOptions } from '../../composables/use-endless-scroll-api'; type ParamType = { id: string; name: string; }; export interface RadioSelectHeaderInterface extends HeaderInterface { type: 'radioSelect'; selectedParam: string; options: ParamType[]; } export declare function isRadioSelectHeaderInterface(i: HeaderInterface): i is RadioSelectHeaderInterface; export interface CheckboxSelectHeaderInterface extends HeaderInterface { type: 'checkboxSelect'; selectedParam: string; options: ParamType[]; } export declare function isCheckboxSelectHeaderInterface(i: HeaderInterface): i is CheckboxSelectHeaderInterface; export interface RelationExtensionInterface { params?: { [key: string]: string | string[]; }; searchKey?: string; itemConverter?: (v: any) => ParamType; paramsSerialization?: paramsSerializationOptions; requestPageKey?: string; requestPerPageKey?: string; responseItemsKey?: string; responseTotalKey?: string; paginationType?: string; additionalItems?: { id: string; name: string; }[]; } export declare function isRelationExtendedInterface(i: any): i is RelationExtensionInterface; export interface WeekCalendarHeaderInterface extends HeaderInterface { type: 'weekCalendar'; endDateParam: string; startDateParam: string; defaultValue?: { startDate?: Moment; endDate?: Moment; }; saveDefaultFilterValueOnReset?: boolean; } export declare function isWeekCalendarHeaderInterface(i: HeaderInterface): i is WeekCalendarHeaderInterface; export interface FilterInterface { label: string; filter: HeaderInterface | TextHeaderInterface | TextSearchHeaderInterface | (RelationSelectHeaderInterface & RelationExtensionInterface) | (EnumSelectHeaderInterface & RelationExtensionInterface) | DefaultSelectHeaderInterface | (MultipleRelationSelectHeaderInterface & RelationExtensionInterface) | (MultipleEnumSelectHeaderInterface & RelationExtensionInterface) | MultipleDefaultSelectHeaderInterface | PeriodCalendarHeaderInterface | WeekCalendarHeaderInterface | CalendarHeaderInterface | RangeNumberHeaderInterface | RadioSelectHeaderInterface | CheckboxSelectHeaderInterface; } export {};