import React from "react";
import { Option } from "types";
declare type Props = {
    readonly name: string;
    readonly value: string;
    readonly error?: string;
    readonly label?: string;
    readonly options: Option[];
    readonly onChange: (name: string, value: string) => void;
    readonly [key: string]: any;
};
export declare const ChoiceInput: React.MemoExoticComponent<({ name, value, error, label, options, onChange, ...rest }: Props) => JSX.Element>;
export {};
