/**
 * Question input component for adding new fields
 */
import React from 'react';
import type { AddFieldType, AddFieldTypeMeta, ComboboxComponents } from '../types.js';
export interface QuestionInputProps {
    /**
     * Callback when a question is submitted (on Enter)
     */
    on_add: (label: string, field_type: AddFieldType) => void;
    /**
     * Placeholder text
     * @default "Enter a question and press Enter..."
     */
    placeholder?: string;
    /**
     * Auto-focus the input
     * @default true
     */
    auto_focus?: boolean;
    /**
     * Available field types for the dropdown
     */
    available_types: AddFieldTypeMeta[];
    /**
     * Currently selected field type
     */
    selected_type: AddFieldType;
    /**
     * Callback when field type changes
     */
    on_type_change: (type: AddFieldType) => void;
    /**
     * Optional shadcn combobox components for field type selector
     */
    combobox_components?: ComboboxComponents;
    /**
     * When true, hides the field type selector (used when type is pre-determined)
     * @default false
     */
    hide_type_selector?: boolean;
}
/**
 * QuestionInput - Input field for adding new questions to the pending list
 * Submits on Enter and clears the input, keeping focus
 */
export declare function QuestionInput({ on_add, placeholder, auto_focus, available_types, selected_type, on_type_change, combobox_components, hide_type_selector, }: QuestionInputProps): React.ReactElement;
//# sourceMappingURL=question_input.d.ts.map