import React from "react"; import { IImgListItem } from "../type"; export interface ICarouselConfig { carouselStyle: 'transverse' | 'alien'; automated: boolean; timeInterval: number; backgroundColor: string; } export interface IPhotoAdsProps { template?: "carousel" | "oneInARow"; config?: ICarouselConfig; imageSize?: "big" | "small"; borderRadius?: number; paddingX?: number; imgList?: IImgListItem[]; autoplay?: boolean; skin: string; height?: number; getImageOnLoadState?: (state: "success" | "error") => void; handleOnLoad?: (index?: number) => void; buyNow?: (id?: string) => void; /** * 图片是否压缩 */ imageCompression?: boolean; kefuData?: { kefuObj: { kefuUrl: string; corpId: string; }; goKeFu: () => void; }; getCallbackData?: (id: string) => void; } declare const PhotoAds: React.FC, "style">>; export default PhotoAds;