import { type KeyboardEvent, type MouseEvent } from 'react'; /** The zoom at which a picture fits its stage. */ export declare const ZOOM_FIT = 100; export declare const zoomIn: (zoom: number) => number; export declare const zoomOut: (zoom: number) => number; /** The zoom a key asks for: + or = zooms in, - out, and 0 back to fit. Undefined for any * other key, or one with a modifier, which belongs to the browser's own page zoom. */ export declare function zoomForKey(event: KeyboardEvent, zoom: number): number | undefined; /** A picture on a stage that fills its box. At `ZOOM_FIT` it shrinks to fit and is never * drawn past its own size; zoomed, it takes that share of the stage's width and the * stage scrolls. */ export declare function ImageStage({ src, alt, zoom, className, imageClassName, onError, onClick, }: { src: string; alt: string; zoom?: number | undefined; /** On the stage. */ className?: string | undefined; /** On the picture. */ imageClassName?: string | undefined; onError?: (() => void) | undefined; /** A click on the stage, beside the picture: a viewer's backdrop. */ onClick?: ((event: MouseEvent) => void) | undefined; }): import("react").JSX.Element; /** Zoom out, the zoom as a percentage, and zoom in, for an `ImageStage`. */ export declare function ZoomControls({ zoom, onZoomChange, className, }: { zoom: number; onZoomChange: (zoom: number) => void; /** On the group, for its surface. */ className?: string | undefined; }): import("react").JSX.Element;