import { PropertyDeclaration, TemplateResult } from 'lit'; import { SbbButtonBaseElement } from '../../core/base-elements.ts'; import { SbbLanguageController } from '../../core/controllers.ts'; import { DateAdapter } from '../../core/datetime.ts'; import { SbbDateInputElement, SbbDateInputAssociated } from '../../date-input.ts'; export declare const datepickerButtonStyle: import('lit').CSSResult; declare const SbbDatepickerButtonBase_base: import('../../core/mixins.ts').AbstractConstructor & typeof SbbButtonBaseElement; /** * Base component for datepicker's buttons. * * @event {Event} change - The change event is fired on the datepicker's input when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value. * @event {InputEvent} input - The input event fires on the datepicker's input when the value has been changed as a direct result of a user action. */ export declare abstract class SbbDatepickerButtonBase extends SbbDatepickerButtonBase_base implements SbbDateInputAssociated { static readonly sbbDateInputAssociated = true; /** * The associated date input element. * * For attribute usage, provide an id reference. */ accessor input: SbbDateInputElement | null; /** Whether this button is disabled. */ get disabled(): boolean; /** Whether the component is disabled due date-picker's input disabled. */ private _inputDisabled; private _inputAbortController?; protected dateAdapter: DateAdapter; protected language: SbbLanguageController; protected abstract iconName: string; connectedCallback(): void; requestUpdate(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration): void; private _findSlotPosition; private _sync; protected syncDateInputState(): void; protected renderTemplate(): TemplateResult; } export declare abstract class SbbDatepickerButton extends SbbDatepickerButtonBase { /** Whether the component is disabled due date equals to boundary date. */ private _disabled; protected abstract i18nOffBoundaryDay: Record; protected abstract i18nSelectOffBoundaryDay: (_currentDate: string) => Record; get disabled(): boolean; constructor(); /** @deprecated Use `getFollowingDate(date: T)` instead. */ protected findAvailableDate(_date: T): T | null; protected abstract getFollowingDate(_date: T): T | null; private _handleClick; protected syncDateInputState(): void; } export {}; //# sourceMappingURL=datepicker-button.d.ts.map