import { ReactNode } from 'react';
import { ToolbarOverflowTypes } from '../../types';
export declare const withOverflowItemContext: (children: ReactNode, isInOverflowMenu?: boolean) => import('react').FunctionComponentElement<import('react').ProviderProps<{
    isInOverflowMenu: boolean;
}>>;
export declare const createMockToolbarContext: (overrides?: {}) => {
    overflowItems: never[];
    orderedIds: never[];
    addItem: import('vitest').Mock<(...args: any[]) => any>;
    removeItem: import('vitest').Mock<(...args: any[]) => any>;
    toolbarRef: {
        current: HTMLDivElement;
    };
    overflow: ToolbarOverflowTypes;
    size: "xsmall";
};
export declare const withToolbarContext: (children: ReactNode, contextValue?: {
    overflowItems: never[];
    orderedIds: never[];
    addItem: import('vitest').Mock<(...args: any[]) => any>;
    removeItem: import('vitest').Mock<(...args: any[]) => any>;
    toolbarRef: {
        current: HTMLDivElement;
    };
    overflow: ToolbarOverflowTypes;
    size: "xsmall";
}) => import('react').FunctionComponentElement<import('react').ProviderProps<import('../ToolbarContext').ToolbarContextProps>>;
export declare const mockIntersectionObserver: import('vitest').Mock<(...args: any[]) => any>;
export declare const observerMap: Map<any, any>;
export declare const createIntersectionEntry: (element: Element, isIntersecting: boolean) => IntersectionObserverEntry;
export declare const setupIntersectionObserver: () => void;
