import type { SelectProps } from "./types.js";
interface UseSelectProps {
    options?: SelectProps["options"];
    multiple?: boolean;
    defaultValue?: string | string[];
    value?: string | string[];
    onChange?: (value: string | string[]) => void;
}
export declare function useSelect({ options, multiple, defaultValue, value, onChange, }: UseSelectProps): {
    selectedValues: string[];
    isPopoverOpen: boolean;
    commandListRef: import("react").RefObject<HTMLDivElement>;
    toggleOption: (optionValue: string) => void;
    handleClear: () => void;
    toggleAll: () => void;
    handleOpenChange: (open: boolean) => void;
};
export {};
//# sourceMappingURL=use-select.d.ts.map