/// import { DateTidsperiode } from './types'; export interface TidsperiodeFormLabels { title?: string; fromDate: string; toDate: string; intervalTitle?: string; okButton: string; cancelButton: string; } interface Props { minDate?: Date; maxDate?: Date; tidsperiode?: Partial; alleTidsperioder?: DateTidsperiode[]; formLabels?: Partial; onSubmit: (values: DateTidsperiode) => void; onCancel: () => void; } export declare const TidsperiodeFormErrors: { fom: { dateHasNoValue: string; fromDateIsAfterToDate: string; dateHasInvalidFormat: string; dateIsBeforeMin: string; dateIsAfterMax: string; }; tom: { dateHasNoValue: string; toDateIsBeforeFromDate: string; dateHasInvalidFormat: string; dateIsBeforeMin: string; dateIsAfterMax: string; }; }; declare const TidsperiodeForm: ({ maxDate, minDate, formLabels, tidsperiode, alleTidsperioder, onSubmit, onCancel, }: Props) => JSX.Element; export default TidsperiodeForm;