import type { Effect } from '../gl/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 `into( device, format, screen )`, before the slides are * drawn: the texture to draw them into, or null while * there is none; and `draw( encoder )`, after: puts it on * the screen. */ export declare function post(slider: Slider, layer: { canvas: HTMLCanvasElement | null; }, effects: Effect[]): { into(device: GPUDevice, format: GPUTextureFormat, to: GPUTextureView): GPUTextureView | null; draw(encoder: GPUCommandEncoder): void; };