import { LayoutRectangle } from "react-native"; export type ContentFit = "cover" | "contain" | "fill" | "none" | "scale-down"; /** * Represents the scale of an image. */ export type ImageScale = { x: number; y: number; offsetX?: number; offsetY?: number; }; type ImageSize = { width?: number | null; height?: number | null; }; /** * Calculates the image scale based on the provided parameters. * * @param contentFit - The content fit mode specifying how the image should fit within the container. * @param container - The container object containing the width and height * of the container. * @param image - The image object containing the width * and height of the image. * @returns - The calculated image scale. */ export declare function useImageScale(contentFit: ContentFit, container: Pick, image?: ImageSize): ImageScale; export {};