import React from 'react';
export type FollowUpProps = {
    id: string;
    name: string;
    options: {
        label: string;
        value: string;
    }[];
    groupLabel: string;
    tooltip?: string;
    hint?: string;
};
export type Option = {
    label: string;
    value: string;
};
export type Props<TOptions extends readonly Option[] = Option[]> = {
    id: string;
    name: string;
    values: Record<string, string>;
    onChange: (values: Record<string, string>) => void;
    options: TOptions;
    groupLabel: string;
    tooltip?: string;
    errorMessage?: string;
    hint?: string;
    followUps?: Partial<Record<TOptions[number]['value'], FollowUpProps>>;
    recurring?: boolean;
};
declare const QuestionWithFollowUp: React.ForwardRefExoticComponent<Props<Option[]> & {
    children?: React.ReactNode | undefined;
} & React.RefAttributes<HTMLInputElement>>;
export default QuestionWithFollowUp;
//# sourceMappingURL=QuestionWithFollowUp.d.ts.map