import { createContext, useContext } from 'react';
import { assertContextValue } from '../createContext';
export const ToolbarCollectionContext = createContext(null);
export const ToolbarCollectionProvider = ToolbarCollectionContext.Provider;
export const ToolbarCollectionConsumer = ToolbarCollectionContext.Consumer;
export const useToolbarCollectionContext = () => {
    const value = useContext(ToolbarCollectionContext);
    assertContextValue('ToolbarCollectionProvider', value);
    return value;
};
//# sourceMappingURL=ToolbarCollectionContext.js.map