import '@material/web/icon/icon'; import '@material/web/field/outlined-field'; import '@material/web/menu/menu'; import '@material/web/button/text-button'; import '@material/web/list/list'; import '@material/web/list/list-item'; import '../date-input/date-input'; import { LitElement } from 'lit'; import { DateRangeOption } from './types/date-range-option'; /** * Date range selector that allows selection from a list of pre-defined ranges or a custom range * * @element titanium-date-range-selector * * @fires date-range-changed - Fired when a range selection is made or cleared or the start or end date are changed to a valid combination * */ export declare class TitaniumDateRangeSelector extends LitElement { #private; /** * The selected selected range. */ accessor range: string; /** // * The selected start date. // */ accessor startDate: string; accessor endDate: string; /** * Sets floating label value. */ accessor label: string; /** * Type of date inputs */ accessor type: 'date' | 'datetime-local'; /** * Whether or not the input should be disabled */ accessor disabled: boolean; /** * Override default ranges with custom options. Needs to contain, at least, 'allTime'. */ accessor customDateRanges: Map | null; /** * Conveys additional information below the text field, such as how it should * be used. */ accessor supportingText: string; accessor positioning: 'absolute' | 'fixed' | 'document' | 'popover'; private accessor menu; private accessor list; private accessor proposedRange; private accessor proposedStartDate; private accessor proposedEndDate; protected accessor open: boolean; private accessor focused; updated(changedProps: any): Promise; /** * resets the validity of the start and end date inputs */ reset(): Promise; static styles: import("lit").CSSResult; render(): import("lit-html").TemplateResult<1>; } //# sourceMappingURL=date-range-selector.d.ts.map