import * as React from "react"; import type { ImageSourcePropType, ImageStyle, StyleProp, TextStyle, ViewStyle } from "react-native"; import type { MCCampaign, MCMeta } from "../domain"; export type MCNativeAdViewHandle = { load: () => void; }; export type MCDefaultCardStyles = { card?: StyleProp; image?: StyleProp; title?: StyleProp; reward?: StyleProp; currencyIcon?: StyleProp; promo?: StyleProp; progress?: StyleProp; }; export type MCNativeAdViewProps = { horizontal?: boolean; maxCampaigns?: number; useCache?: boolean; nestedScrollEnabled?: boolean; currencyIconUrl?: string | null; currencyIconSource?: ImageSourcePropType | null; defaultCardStyles?: MCDefaultCardStyles; style?: StyleProp; contentContainerStyle?: StyleProp; renderCampaign?: (campaign: MCCampaign, index: number) => React.ReactElement; renderSkeleton?: (index: number) => React.ReactElement; skeletonCount?: number; loadingView?: React.ReactElement; onLoadingStarted?: () => void; onCampaignsLoaded?: (campaigns: MCCampaign[], meta: MCMeta) => void; onError?: (error: Error) => void; onCampaignClick?: (campaign: MCCampaign, index: number, openDefault: () => void) => void; }; export declare const MCNativeAdView: React.ForwardRefExoticComponent>; //# sourceMappingURL=MCNativeAdView.d.ts.map