import { RefObject } from 'react'; /** * Hook to override host-injected inline styles on the drawer container. * * Staffbase's host page may inject inline styles (e.g., `width: 90vw !important`) * that conflict with the drawer's intended full-screen layout. This hook * provides a secondary defense layer using MutationObserver to detect and * override these styles in real-time. * * Primary defense is inline styles in React JSX; this is the backup. * @param {RefObject} containerRef - Ref to the drawer container. * @param {boolean} isActive - Whether the drawer is active/visible. * @returns {void} Nothing. */ export declare const useOverrideHostStyles: (containerRef: RefObject, isActive: boolean) => void; export default useOverrideHostStyles; //# sourceMappingURL=useOverrideHostStyles.d.ts.map