import type { CellProperties } from '../../settings'; import { TextEditor } from '../textEditor'; export declare const EDITOR_TYPE = "date"; /** * @private * @class DateEditor */ export declare class DateEditor extends TextEditor { /** * Returns the unique editor type identifier for the date editor. */ static get EDITOR_TYPE(): string; /** * Initializes the editor and registers an afterSetTheme hook to close on theme changes. */ init(): void; /** * Prepares the editor, replacing the display value with the raw ISO source data for the native date input. */ prepare(row: number, col: number, prop: string | number, td: HTMLTableCellElement, value: unknown, cellProperties: CellProperties): void; /** * Creates the editor's textarea element as a native date input. */ createElements(type?: string): void; /** * Sets the editor value, falling back to `defaultDate` when the value is empty, and warns if the value is not a valid ISO date string. */ setValue(value?: unknown): void; /** * Selects all text in the date input element when the editor receives focus. */ focus(): void; /** * Opens the editor and programmatically invokes the native date picker via showPicker(). */ open(): void; }