import { ReactNode, RefObject } from 'react';
import { RichImageInfo } from './types';
interface ImageEntry {
    el: HTMLElement;
    info: RichImageInfo;
}
export interface ImageRegistry {
    register: (entry: ImageEntry) => () => void;
    resolve: (target: HTMLElement) => {
        images: RichImageInfo[];
        index: number;
    };
}
export declare function ImageRegistryProvider({ children }: {
    children: ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function useImageRegistry(): ImageRegistry | null;
export declare function useRegisterImage(ref: RefObject<HTMLElement | null>, info: RichImageInfo): void;
export {};
//# sourceMappingURL=registry.d.ts.map