import type { MdyReactivity } from "@modyra/core"; import type { MdyWidgetController } from "../contract.js"; import type { MdyDatepickerFieldControllerOptions, MdyDatepickerFieldIntent, MdyDatepickerFieldState } from "./datepicker-field-types.js"; export interface MdyDatepickerFieldController extends MdyWidgetController { /** Set the selected date (ISO `YYYY-MM-DD` or null) programmatically without producing a command. */ setValue(iso: string | null): void; /** Update the readonly state. */ setReadonly(readonly: boolean): void; /** * Replace the range of dates on offer, ISO `YYYY-MM-DD` or null for open-ended. * * A host whose bounds arrive later, or move — a departure date that cannot precede an arrival — * tells the controller rather than building a new one, which would forget the month on screen and * the cell holding focus. */ setBounds(minDate: string | null, maxDate: string | null): void; } export declare function createDatepickerFieldController(options: MdyDatepickerFieldControllerOptions, reactivity?: MdyReactivity): MdyDatepickerFieldController;