import { LeafThrough } from './LeafThrough.js'; import type { LeafThroughOptions } from './options.js'; export { LeafThrough }; export type * from './options.js'; export interface LeafThroughActionOptions extends LeafThroughOptions { /** Called with the instance, for `next()`, `prev()` and `goTo()`. */ onInit?: (magazine: LeafThrough) => void; } /** * Svelte action (Svelte 4 and 5). Give the element a size. * * ```svelte *