import { StoryObj } from '@storybook/react';
export type Story = StoryObj<any>;
/**
 * Tear down every overlay surface — drawer + tracked modals + ad-hoc modals.
 * Used before/after each play test so stories don't leak state into each other.
 */
export declare const closeAllOverlays: () => Promise<void>;
/**
 * Locate the MUI Drawer root element. The Drawer mounts under a portal so we
 * cannot scope to the story canvas — we resolve it from `document` instead.
 */
export declare const getDrawerLayer: () => HTMLElement;
export declare const readZ: (el: HTMLElement) => number;
/** Pick whichever element paints at the centre of `el`'s bounding rect. */
export declare const topmostElAt: (el: HTMLElement) => HTMLElement | null;
