import type { DayComponent, DateTimeComponent, TimeComponent as CoreTimeComponent, SelectBoxesComponent, DataMapComponent, SelectComponent, } from '@formio/core'; export interface InputElementLike { value: string; } export type GDSFieldDefinition = { type?: string; placeholder?: string; required?: boolean; }; export type GDSDatetimeComponentSchema = // `suffix` and `fields` are omitted so the wider declarations below apply Omit & Pick & { suffix?: string | null; fields: DayComponent['fields'] & { hour?: GDSFieldDefinition; minute?: GDSFieldDefinition; }; }; // Aliased to avoid clashing with runtime classes export type { CoreTimeComponent, SelectBoxesComponent, DataMapComponent, SelectComponent };