import type { Emitter } from '@mantou/gem/lib/decorators'; import { GemElement } from '@mantou/gem/lib/element'; import type { Store } from '@mantou/gem/lib/store'; import type { Option } from '../elements/select'; import { ComparerType } from '../lib/utils'; import '../elements/button'; import '../elements/date-panel'; import '../elements/input'; import '../elements/radio'; import '../elements/select'; import '../elements/time-panel'; export type FilterableType = 'string' | 'number' | 'date' | 'date-time' | 'time' | 'duration' | 'enum'; export type FilterableOptions = { type?: FilterableType; getOptions?: (provider?: string) => Option[] | undefined; getProviders?: () => Option[] | undefined; connectStores?: Store[]; }; type State = { comparerType: ComparerType; value: string | number | string[]; /**duration */ durationUnit: number; /**enum*/ search: string; provider?: string; }; export type SubmitValue = Pick; export declare class DyPatFilterFormElement extends GemElement { #private; options?: FilterableOptions; getText?: (text: ComparerType) => string; submit: Emitter; render: () => import("@mantou/gem/lib/lit-html").TemplateResult; initValue?: Partial; } export {}; //# sourceMappingURL=filter-form.d.ts.map