/** * Story `play` helper for Monaco. Monaco lazy-loads from a CDN, then loads the language grammar, * tokenizes and lays out its scrollbars asynchronously. Wait until syntax colours are applied and * the rendered editor stops changing, so Chromatic never captures a half-painted editor. * * The overview ruler canvas is hidden: Monaco paints its 1px border non-deterministically between * page loads, which Chromatic reports as a diff on every build. Uses `performance.now()` because the * Storybook preview pins `Date`. */ export declare const waitForMonacoSettled: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise;