import React from "react";
import type { GatsbyImageProps } from "./gatsby-image.browser";
type LazyHydrateProps = Omit<GatsbyImageProps, "as" | "style" | "className"> & {
    isLoading: boolean;
    isLoaded: boolean;
};
export declare function swapPlaceholderImage(element: HTMLElement, cacheKey: string, imageCache: Set<string>, style: React.CSSProperties, onStartLoad: GatsbyImageProps["onStartLoad"], onLoad: GatsbyImageProps["onLoad"], onError: GatsbyImageProps["onError"]): () => void;
export declare function renderImageToString({ image, loading, isLoading, isLoaded, imgClassName, imgStyle, objectPosition, backgroundColor, objectFit, ...props }: LazyHydrateProps): string;
export {};
//# sourceMappingURL=lazy-hydrate.d.ts.map