import React from 'react'; import { FiltersMap } from '@wix/bex-core'; import { PickerListItemProps } from '../PickerListItemProps'; import { PickerContentBaseWrappedProps } from './PickerContentBaseWrapped'; import { PickerContentState } from '../../state'; export interface PickerContentAdditionalStepProps extends Partial { /** The additional step title */ additionalStepTitle?: string; /** The additional step subtitle */ additionalStepSubtitle?: string; /** Defines a function that returns a component to render in the additional step content area, if `hasAdditionalStep` returns `false` this prop is ignored. */ renderAdditionalStepContent?: (props: { item: T; }) => JSX.Element; /** Indicates if selected item has additional step or not */ hasAdditionalStep?: (props: { item: T; }) => boolean; /** Defines a callback function just before primaryButtonOnClick callback, returned value will be added as `additionalStepData` in onSelect payload */ onBeforeSelectAdditionalStep?: () => Promise; /** Defines a callback function after user clicks on the continue button to additional step content */ continueButtonOnClick?: (props: { item: T; }) => void; /** Defines a callback function after user clicks on the back button in the additional step content */ backButtonOnClick?: (props: { item: T; }) => void; /** Additional steps modal content overrides */ additionalStepOverrides?: { extraNode?: React.ReactNode; extraText?: string; subtitle?: string; image?: React.ReactNode; enablePrimaryButton?: boolean; }; } interface PickerContentAdditionalStepStateProps { pickerContentState: PickerContentState; renderItem: (item: T, index: number) => Partial; onBackButtonClick: Function; } export type PickerContentAdditionalStepFullProps = PickerContentAdditionalStepProps & PickerContentAdditionalStepStateProps; declare function _PickerContentAdditionalStep(props: PickerContentAdditionalStepFullProps): JSX.Element; export declare const PickerContentAdditionalStep: typeof _PickerContentAdditionalStep & { displayName: string; }; export {}; //# sourceMappingURL=PickerContentAdditionalStep.d.ts.map