import type { RefObject, TargetedFocusEvent, TargetedKeyboardEvent } from 'preact';
import type { SelectFocus } from '../Select/useSelectFocus';
import type { SelectItem, SelectProps } from '../Select/Select.types';
export interface SelectButtonProps {
    name: string;
    active: SelectItem[];
    focusProps: SelectFocus;
    filterable: boolean | 'prefiltered';
    isFiltering: boolean;
    isInvalid: boolean;
    onButtonKeyDown: (e: TargetedKeyboardEvent<HTMLElement>) => void;
    onInput: (val: string) => void;
    placeholder: string;
    readonly: boolean;
    selectListId: string;
    showList: boolean;
    inputRef: RefObject<HTMLInputElement>;
    'aria-describedby'?: string;
    'aria-label'?: string;
    'aria-labelledby'?: string;
    isMulti: boolean;
    id?: string;
    loading?: boolean;
    text?: string;
    behaviour: SelectProps['behaviour'];
    enableTracking?: boolean;
    onClick: () => void;
    onFocus: (e: TargetedFocusEvent<HTMLInputElement>) => void;
    minimal?: boolean;
}
