import type { Effect } from './program.js'; /** * Several transitions in one shader, of which one is drawn: the one that * is picked, and another can be picked while the slider runs, without a * shader or a slider made again. A page that has one transition names * that one and has only that in its bundle; one that offers a choice * names all it offers. * * const turn = choose( [ liquid(), burn(), push() ] ); * createSlider( element, { plugins: [ stack(), canvas( { effects: [ turn ] } ) ] } ); * turn.pick( 1 ); // burn, from the next move on * * @param transitions Transitions. * @param start The one picked first. * @return An effect with the transitions, and `pick( i )`. */ export declare const choose: (transitions: Effect[], start?: number) => Effect & { pick: (i: number) => void; };