import { SelectableListState } from '@ptsecurity/mosaic-state'; import { AllHTMLAttributes, ReactNode } from 'react'; import { A11yFocusableRef, A11yJoinNativeAttributes, A11yMixedRefObject, A11yOverlayRef, A11ySyntheticHandler } from './common'; export declare type A11ySelectRef = A11yFocusableRef; export declare type A11ySelectProps = A11yJoinNativeAttributes<{ predefinedEvents: [AllHTMLAttributes, 'focus' | 'input']; predefinedProps: [AllHTMLAttributes, 'focus' | 'control']; ownProps: Pick, 'placeholder' | 'multiple'> & { onChange?: A11ySyntheticHandler; value?: string | number | (number | string)[]; children?: ReactNode; invalid?: boolean; }; }>; export declare type A11yOptionRef = A11yFocusableRef; export declare type A11yOptionProps = A11yJoinNativeAttributes<{ predefinedEvents: [AllHTMLAttributes, 'focus']; predefinedProps: [AllHTMLAttributes, 'focus']; ownProps: { children: ReactNode; multiple?: boolean; selected?: boolean; disabled?: boolean; value: Value; }; }>; export declare type A11ySelectPanelRef = A11yOverlayRef; export declare type A11ySelectPanelProps = { targetRef: A11yMixedRefObject; state: SelectableListState; children: ReactNode; opened: boolean; onOpen?: () => void; onClose?: () => void; }; export declare type A11ySelectMatchProps = { targetRef: A11yMixedRefObject; onRender: (key: string | number, visible: boolean) => void; disabled?: boolean; invalid?: boolean; children: ReactNode; value: string | number; };