import { PluggyConnectPropsExtended } from '../pluggy-connect'; /** * Adapted version of PluggyConnectProps type, to avoid collision of our * own component props, from ZoidComponent props. */ export declare type AdaptedPluggyConnectProps = Omit & { onErrorProp?: PluggyConnectPropsExtended['onError']; onSuccessProp?: PluggyConnectPropsExtended['onSuccess']; onOpenProp?: PluggyConnectPropsExtended['onOpen']; onCloseProp?: PluggyConnectPropsExtended['onClose']; onEventProp?: PluggyConnectPropsExtended['onEvent']; onHideProp?: PluggyConnectPropsExtended['onHide']; }; /** * Helper to transform user-provided props values, to our own * adapted props object. * This is necessary to avoid collision with Zoid component props. * * @param props */ export declare function adaptPluggyConnectProps(props: PluggyConnectPropsExtended): AdaptedPluggyConnectProps; /** * Helper to transform adapted props object, back into user-provided props * values. * This is necessary to avoid collision with Zoid component props. * * @param adaptedProps */ export declare function restorePluggyConnectProps(adaptedProps: AdaptedPluggyConnectProps): PluggyConnectPropsExtended;