/**
 * WebGL2-accelerated slide transitions.
 *
 * Currently implements: vortex.
 *
 * The entry point is tryRunGLTransition(), called from runTransition() in
 * transition.ts BEFORE the CSS path runs. It returns null when the effect
 * isn't GL-backed or when GL setup fails — in that case the caller falls
 * back to the CSS path and there is no visible regression.
 *
 * Same DOM contract as the CSS path (see transition.ts header):
 *   - The outgoing element (snapshot overlay) is disposable — we mutate
 *     it freely (innerHTML, zIndex, a GL <canvas> child).
 *   - The incoming element (real spread) is only touched via `opacity`.
 *     NEVER set `transform` on incoming.
 */
import type { PageTransition } from "../../worker/index.js";
import type { TransitionHandle } from "./transition.js";
/**
 * Try to run a GL-accelerated transition. Returns null if the effect is
 * not GL-backed, WebGL2 isn't available, or texture setup fails — caller
 * should fall back to the CSS path.
 */
export declare function tryRunGLTransition(outgoing: HTMLElement, incoming: HTMLElement, transition: PageTransition, _forward: boolean, durationMs: number, onComplete: () => void): TransitionHandle | null;
//# sourceMappingURL=transition-gl.d.ts.map