import type * as React from 'react'; export { fromDate, getLocalTimeZone, toCalendarDate, toDateValue, toJsDate, toTimeValue } from '../../../date/legacy-bridge.js'; export type FirstDay = 'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat'; export interface LegacyFieldProps { label?: React.ReactNode; helperText?: React.ReactNode; errorMessage?: React.ReactNode; error?: boolean | string; required?: boolean; disabled?: boolean; readOnly?: boolean; name?: string; size?: 'sm' | 'md' | 'lg'; locale?: string; firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6; } /** Shared 4.x field props -> DateFieldLikeProps (label, description, error, flags). */ export declare function fieldProps(p: LegacyFieldProps): Record; /** 4.x native-input onChange payload: an event-shaped object carrying the value. */ export declare function legacyChange(value: string): { target: { value: string; }; currentTarget: { value: string; }; }; //# sourceMappingURL=shared.d.ts.map