export interface SelectProps { id: string; fieldId: string; disabled?: boolean; error?: null | string; readonly?: boolean; options: null | string[] | { value: string; label: string; }[]; item?: null | { id?: string; label: string; format?: string; }; onChange?: (event: any) => void; classBlock?: string; classModifiers?: string | string[]; className?: string; value?: any; defaultValue?: any; placeholder?: null | string; /** true if require full data instead of just value */ returnFullData?: boolean; } export declare const DEFAULT_CLASS = "govuk-select"; export declare const DEFAULT_PLACEHOLDER = "Select an option"; /** ## When to use this component The select component should only be used as a last resort in public-facing services because research shows that some users find selects very difficult to use. ## When not to use this component The select component allows users to choose an option from a long list. Before using the select component, try asking users questions which will allow you to present them with fewer options. Asking questions means you're less likely to need to use the select component, and can consider using a different solution, such as radios. ## How it works If you use the component for settings, you can make an option pre-selected by default when users first see it. If you use the component for questions, you should not pre-select any of the options in case it influences users' answers. */ export declare const Select: ({ id, fieldId, classBlock, classModifiers, className, defaultValue, disabled, error, item, onChange, options, placeholder, readonly, returnFullData, value, ...attrs }: SelectProps) => import("react/jsx-runtime").JSX.Element;