import { type CSSProperties } from 'react'; import { LeafThrough as Magazine, type GoToOptions } from './LeafThrough.js'; import { type LeafThroughOptions } from './options.js'; export type * from './options.js'; export interface LeafThroughProps extends LeafThroughOptions { className?: string; style?: CSSProperties; } export interface LeafThroughHandle { next(): boolean; prev(): boolean; goTo(page: number, options?: GoToOptions): void; readonly page: number; readonly pageCount: number; /** The underlying instance, or null before mount. */ readonly instance: Magazine | null; } /** * React component (React 18+). Give it a size with `className` or `style`; without a height * it takes its height from its width. * * ```tsx * const ref = useRef(null) * setPage(d.page)} /> * ``` */ export declare const LeafThrough: import("react").ForwardRefExoticComponent>;