type Children = unknown; /** * The frame of a States story (#1440, SPEC.md "Tests"): every state of a component visible once * the story has opened, each with its name, so a person, the a11y run and an audit see them all * without scripting the page. * * - The area takes the surface a component sits on in a product (`bg-surface-raised`, a card or * a panel), through its role, so dark mode follows (decided on #1440 between raised and * overlay, on the real render). * - Columns by container queries: one, two from `@md`, three from `@3xl`. * - A state that only an interaction reaches is named with `play`: the story's play function * brings it there and checks it was reached, never how it looks, so a defect shows instead of * being held by the test. */ export declare const StatesGrid: ({ children }: { children?: Children; }) => any; export declare const StateCell: ({ state, play, children, }: { key?: string; state: string; play?: boolean; children?: Children; }) => any; /** The cell of a state, by its name. */ export declare const stateCell: (canvasElement: HTMLElement, state: string) => HTMLElement; /** * Leaves the `mds-input` of a cell as a person does, focus then blur, once it and every Magma * element around it in the cell have loaded (a field listens to its input only then). The events * are sent, because focus() and blur() fire nothing while the document has no focus (a * background tab, a hidden pane of the browser). */ export declare const leaveInput: (cell: HTMLElement) => Promise; export {};