import { FC, ReactNode } from 'react'; import { StyleProp, TextStyle, ViewStyle } from 'react-native'; import { CardCoverProps } from './CardCover'; import { ExperienceModalProps } from './ExperienceModal'; type OwnProps = { /** * Override the button style. */ buttonStyle?: StyleProp; /** * Override the button text style. */ buttonTextStyle?: StyleProp; /** * Override the default loader for the cover. */ coverLoader?: ReactNode; /** * Override the default error display for the cover. */ coverErrorDisplay?: ReactNode; /** * The URL of the embed metadata for the card, copied from the Komo Portal. */ embedMetaUrl: string; /** * The callback for when an error occurs during querying the embed metadata endpoint. */ onError?: (e: any) => void; /** * The callback for when the modal is closed. */ onModalClose?: () => void; /** * The callback for when the modal is opened. */ onModalOpen?: () => void; /** * Override the default error display for the modal. */ modalErrorDisplay?: ExperienceModalProps['errorDisplay']; }; export type KomoCardWidgetProps = OwnProps & Pick & Pick; export declare const KomoCardWidget: FC; export {}; //# sourceMappingURL=KomoCardWidget.d.ts.map