import "./date_stamp.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type StyleProps } from "./style_props"; /** * Trigger DOM props are not on this interface: `onChange` here commits a date. They land on the * inner element. */ export interface DateStampProps extends StyleProps { /** * `""`/`null` for a stamp not yet made. An instant naming its offset is dated in the locale's * `zone`. */ value: string | null; /** Omit for a read-only stamp. */ onChange?: (iso: string) => void; /** Defaults to the kit's locale. */ locale?: string; /** * Drop the year (`08/09`), to match dates a caller formats beside it; `formatDate` owns the * format. */ compact?: boolean; /** What the date is of ("Date for Quoted"), naming both arms before the date. */ accessibilityLabel: string; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } /** * A recorded date the system writes and a person occasionally corrects: quiet text at rest, * underlined on hover, opening `DatePickerPanel`. Not a `DatePicker` with a prop: that is a field * to fill in, with its icon and band. Empty renders nothing. */ export declare function DateStamp(props: DateStampProps): React.JSX.Element | null;