import type { Effect } from './program.js'; import type { Slider } from '../index.js'; /** * @param slider Slider. * @param layer The layer: its `canvas`. * @param effects The effects of the layer. * @return What the layer calls before it draws the slides: with * the context, to draw them into the framebuffer. */ export declare function post(slider: Slider, layer: { canvas: HTMLCanvasElement | null; }, effects: Effect[]): (g: WebGL2RenderingContext) => void;