import type { TransitionName, TransitionParams } from '../types/transitions.js'; import GL from 'gl'; import { type ResizeMode } from './gl-transition.js'; export interface TransitionOpts { name?: TransitionName; resizeMode?: ResizeMode; gl: WebGLRenderingContext & GL.StackGLExtension; } interface DrawOpts { imagePathFrom: string; imagePathTo: string; progress: number; params: TransitionParams; } export declare const getTransition: ({ name, resizeMode, gl }: TransitionOpts) => { name: TransitionName; draw: ({ imagePathFrom, imagePathTo, progress, params }: DrawOpts) => Promise; dispose: () => void; }; export type GLTransition = ReturnType; export {}; //# sourceMappingURL=transition.d.ts.map