import type { Result } from '@empathyco/x-types';
import type { PropType, Ref } from 'vue';
/**
* Component to be reused that renders an `
`.
*
* @public
*/
declare const _default: import("vue").DefineComponent;
required: true;
};
/**
* Animation to use when switching between the placeholder, the loaded image, or the failed
* image fallback.
*/
loadAnimation: {
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
default: () => import("vue").DefineComponent<{}, {}, any>;
};
/** Animation to use when switching between the loaded image and the hover image. */
hoverAnimation: {
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
};
/**
* Indicates if the next valid image should be displayed on hover.
*
* @public
*/
showNextImageOnHover: {
type: BooleanConstructor;
default: boolean;
};
}>, {
pendingImages: Ref;
loadedImages: Ref;
isHovering: Ref;
userHasHoveredImage: Ref;
loaderStyles: import("vue").CSSProperties;
animation: import("vue").ComputedRef>;
imageSrc: import("vue").ComputedRef;
shouldLoadNextImage: import("vue").ComputedRef;
flagImageAsFailed: () => void;
flagImageLoaded: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly;
required: true;
};
/**
* Animation to use when switching between the placeholder, the loaded image, or the failed
* image fallback.
*/
loadAnimation: {
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
default: () => import("vue").DefineComponent<{}, {}, any>;
};
/** Animation to use when switching between the loaded image and the hover image. */
hoverAnimation: {
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
};
/**
* Indicates if the next valid image should be displayed on hover.
*
* @public
*/
showNextImageOnHover: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{}>, {
loadAnimation: string | Function | Record;
showNextImageOnHover: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;
//# sourceMappingURL=base-result-image.vue?vue&type=script&lang.d.ts.map