import "./rotatable_image.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type StyleProps } from "./style_props"; interface RotatableImageProps extends StyleProps { uri: string; /** Accessible name for the image. */ alt?: string; /** Degrees clockwise — normalized to 0/90/180/270. */ rotation?: number; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } /** * An image that rotates in 90° steps and REFITS: at a quarter turn the image box * is laid out in the container's SWAPPED dimensions, then rotated into place — so * a rotated landscape photo fills the frame instead of shrinking into a corner. * The fit preserves the aspect ratio; the swap is the stylesheet's `cq` units, * so the frame needs a height of its own but no measuring pass. */ export declare function RotatableImage(props: RotatableImageProps): React.ReactElement>; export {};