import type { FlipbookHandle, FlipbookOptions } from "./types.js"; /** * Create a WebGL flipbook around the page-curl mesh transition. * * Pass a container element + an array of page sources (image URLs, * `HTMLImageElement`s, canvases, or videos) and you get a fully wired * flipbook: click halves to flip, arrow keys for keyboard nav, drag the * corner mid-flip to scrub the curl manually (release past 50% to commit, * less to revert), optional autoplay with pause-on-hover. * * The handle exposes `.next()`, `.prev()`, `.goTo(index)`, `.play()`, * `.pause()`, `.dispose()`, plus `.on(event, listener)` for lifecycle * (`change`, `flipstart`, `flipend`). * * @throws Error if `options.pages` is empty. */ export declare function createFlipbook(options: FlipbookOptions): FlipbookHandle; //# sourceMappingURL=create.d.ts.map