///
import { Fosterbarn } from './types';
interface FosterbarnFormText {
form_fødselsnummer_label: string;
form_fornavn_label: string;
form_etternavn_label: string;
}
interface Props {
fosterbarn?: Partial;
onSubmit: (values: Fosterbarn) => void;
onCancel: () => void;
disallowedFødselsnumre?: string[];
includeName?: boolean;
text?: FosterbarnFormText;
}
export declare const FosterbarnFormErrors: {
fornavn: {
stringHasNoValue: string;
};
etternavn: {
stringHasNoValue: string;
};
fødselsnummer: {
stringHasNoValue: string;
fødselsnummerIsNotAllowed: string;
fødselsnummerIsNot11Chars: string;
fødselsnummerIsInvalid: string;
};
};
declare const FosterbarnForm: ({ fosterbarn: initialValues, disallowedFødselsnumre, text, includeName, onSubmit, onCancel, }: Props) => JSX.Element;
export default FosterbarnForm;