import React from 'react';
export interface SelectItem {
    id: string;
    label: React.ReactNode;
    value: string;
}
interface SelectContextState {
    items: SelectItem[];
    addItem: (item: SelectItem) => void;
    removeItem: (id: string) => void;
    selected: string[];
    handleSelectItem: (selected: SelectItem) => void;
    multiSelect: boolean;
}
export declare const SelectContext: React.Context<SelectContextState>;
export interface SelectContextProviderProps extends Pick<Partial<SelectContextState>, 'selected' | 'multiSelect'> {
    children?: React.ReactNode;
    onSelect?: (selected: SelectItem[]) => void;
}
export declare const SelectContextProvider: ({ selected: selectedProp, multiSelect, children, onSelect, }: SelectContextProviderProps) => import("react/jsx-runtime").JSX.Element;
export declare const useSelectContext: () => SelectContextState;
export {};
//# sourceMappingURL=context.d.ts.map