import { MutableRefObject, ReactNode } from 'react'; type OnUpdate = (message: StackMessage, type: string, element: MutableRefObject) => void; export declare enum StackMessage { Add = 0, Remove = 1 } export declare function useStackContext(): OnUpdate; export declare function StackProvider({ children, onUpdate, type, element, enabled, }: { children: ReactNode; onUpdate?: OnUpdate; type: string; element: MutableRefObject; enabled?: boolean; }): JSX.Element; export {};