/** * Slides on top of each other, for transitions. * * Nothing moves. The two slides around the position are shown, the later * one on top. How they follow each other is up to the page or the canvas: * * --gs-near 1 on its place, 0 one slide away: the content of the * slides fades by it * --gs-cover the same for the slide that comes in, 1 for the one * below, so that nothing behind the two shines through * * The canvas draws a transition instead (see `gl/transitions/`). * * The media of the slide that is shown come first. Images that wait for * their place (`loading="lazy"`) would not wait in a stack, where every * slide is in the place of the first: so the slides next to the one that * is shown are kept from the page until its images are there, and the * others until they are next. A film waits when it says `preload="none"`. * * A page may say `class="gs gs-stack"` in its HTML. Then the slides are on * top of each other before the script is there, and nothing of the page * gives way when it comes; without the script the first slide is what is * seen. */ import type { Slider } from '../index.js'; export declare function stack(): (slider: Slider) => { name: string; slides: () => void; layout(measured: import("../layout.js").Measured): void; frame({ places }: import("../index.js").View): void; destroy(): void; };