import ImageKit from "imagekit-javascript"; import { IKContextBaseProps, IKContextExtractedProps } from "../components/IKContext/props"; import { IKImageProps, IKImageBaseProps } from "../components/IKImage/combinedProps"; import { IKVideoBaseProps } from "../components/IKVideo/combinedProps"; export type IKImageState = { currentUrl?: string; originalSrc: string; lqipSrc?: string; originalSrcLoaded: boolean; intersected: boolean; contextOptions: IKContextExtractedProps; observe?: IntersectionObserver; initialzeState: boolean; }; export declare const fetchEffectiveConnection: () => any; export declare const areObjectsDifferent: (prevProps: T, newProps: T, propsAffectingURL: Array) => boolean; type GetSrcReturnType = { originalSrc: string; lqipSrc?: string; }; export declare const getSrc: ({ urlEndpoint, lqip, src, path, transformation, transformationPosition, queryParameters }: IKImageBaseProps & IKVideoBaseProps & IKContextBaseProps, ikClient: ImageKit, contextOptions: IKContextExtractedProps) => GetSrcReturnType; export declare const getIKElementsUrl: ({ lqip, loading }: IKImageProps, { intersected, originalSrcLoaded, originalSrc, lqipSrc }: IKImageState) => string | undefined; export {};