/**
* The React wrapper.
*
* ```tsx
*
* ```
*
* The component owns three things the API layer deliberately does not: when to re-render
* (a resize, a slide change, a prop change), how to keep the canvas backing store in step
* with its CSS size, and keyboard navigation.
*/
import { Presentation } from './presentation.js';
import { type PresentationViewerProps } from './types.js';
/** Imperative handle, for callers that need to drive the viewer. */
export interface PresentationViewerHandle {
next(): void;
previous(): void;
goTo(index: number): void;
readonly slide: number;
readonly slideCount: number;
/** The open presentation, once loaded. */
readonly presentation: Presentation | null;
/** Redraw the current slide. */
redraw(): void;
}
export declare const PresentationViewer: import("react").ForwardRefExoticComponent>;
export type { PresentationViewerProps } from './types.js';
//# sourceMappingURL=react.d.ts.map