import { LeafItemDescription } from '../ConfigDescription';
/**
 * Description of a choice item.
 */
export default class ChoiceDescription<T extends string | number> extends LeafItemDescription<T> {
    private readonly choices;
    /**
     * Create the description of a choice item.
     *
     * @param choices - The available choices.
     * @param defaultValue - An optional default value.
     */
    constructor(choices: T[], defaultValue?: T);
    protected parseValue(value: unknown, fileName: string, keyName: string): T;
}
