import React from "react"; import { GroupOptionType, OptionType } from "../../types"; type Props = { children: React.ReactNode; defaultValue: string | string[]; multiple?: boolean; selectAll?: boolean; showExpandedGroup?: boolean; options: Array; onChange?: (values: Array) => void; showSelectedWithTick?: boolean; enableSingleDeletion?: boolean; }; type SelectContextState = { multiple?: boolean; selectAll?: boolean; showExpandedGroup?: boolean; selectedOptions: Array; updateSelectedOption: (option: OptionType) => void; searchKeyword: string; setSearchKeyword: (value: string) => void; setSelectedOptions: (values: OptionType[]) => void; showSelectedWithTick?: boolean; }; declare const SelectContext: React.Context; declare const SelectContextProvider: ({ children, defaultValue, multiple, selectAll, showExpandedGroup, options, onChange, showSelectedWithTick, enableSingleDeletion, }: Props) => JSX.Element; export { SelectContext, SelectContextProvider };