import { within } from "storybook/test"; type Canvas = ReturnType; /** * Structural on purpose — the one thing this helper needs off a * composed story. `ComposedStoryFn` is invariant in its `Args`, so * naming it here would force every caller to restate the props of * the component it is testing. */ type MountableStory = { run: (context: { canvasElement: HTMLElement; }) => Promise; }; export declare const mountStory: (story: MountableStory) => Promise<{ body: Canvas; canvas: Canvas; canvasElement: HTMLElement; }>; export {}; //# sourceMappingURL=mountStory.testHelpers.d.ts.map