import * as React from 'react';
import { MediaAllProps } from "../../components/Media/Media.js";
export declare const useImageSize: ({ onIntrinsicSizeChange, onLoad: onLoadProps, }: Pick<MediaAllProps, "onIntrinsicSizeChange"> & {
    onLoad?: React.ReactEventHandler<HTMLImageElement>;
}) => {
    imageRef: React.RefObject<HTMLImageElement>;
    onLoad: React.ReactEventHandler<HTMLImageElement>;
};
