import React from 'react'; import { BoxProps, Factory, StepperProps, StepperStepProps, StylesApiProps } from '@mantine/core'; import { OnboardingTourStep, type OnboardingTourController, type OnboardingTourOptions } from '../hooks/use-onboarding-tour/use-onboarding-tour'; export type OnboardingTourPopoverContentStylesNames = 'popoverContent'; export interface OnboardingTourPopoverContentBaseProps extends Omit { /** Current onboarding tour controller */ tourController: OnboardingTourController; /** Header of the tour. You can also pass a React component here */ header?: React.ReactNode | ((tourController: OnboardingTourController) => React.ReactNode); /** Title of the tour. You can also pass a React component here */ title?: React.ReactNode | ((tourController: OnboardingTourController) => React.ReactNode); /** Content of the tour. You can also pass a React component here */ content?: React.ReactNode | ((tourController: OnboardingTourController) => React.ReactNode); /** Footer of the tour. You can also pass a React component here */ footer?: React.ReactNode | ((tourController: OnboardingTourController) => React.ReactNode); /** Show the previous button */ withPrevButton?: boolean; /** Show the next button */ withNextButton?: boolean; /** Show the skip button */ withSkipButton?: boolean; /** Show the stepper */ withStepper?: boolean; /** Navigation next button label or Component */ nextStepNavigation?: React.ReactNode | ((tourController: OnboardingTourController) => React.ReactNode); /** Navigation end button label or Component. used when the tour is over and is not in loop */ endStepNavigation?: React.ReactNode | ((tourController: OnboardingTourController) => React.ReactNode); /** Navigation prev button label or Component */ prevStepNavigation?: React.ReactNode | ((tourController: OnboardingTourController) => React.ReactNode); /** Navigation close button label or Component */ skipNavigation?: React.ReactNode | ((tourController: OnboardingTourController) => React.ReactNode); /** Stepper component */ stepper?: (tourController: OnboardingTourController) => React.ReactNode; /** Stepper props */ stepperProps?: Omit; /** Stepper.Step props */ stepperStepProps?: Omit; } export interface OnboardingTourPopoverContentProps extends Omit, OnboardingTourPopoverContentBaseProps, StylesApiProps { } export type OnboardingTourPopoverContentFactory = Factory<{ props: OnboardingTourPopoverContentProps; ref: HTMLDivElement; stylesNames: OnboardingTourPopoverContentStylesNames; }>; export declare const defaultProps: Partial; export type OnboardingCurrentTour = OnboardingTourStep & { step: number; tourLength: number; }; export declare const OnboardingTourPopoverContent: import("@mantine/core").MantineComponent<{ props: OnboardingTourPopoverContentProps; ref: HTMLDivElement; stylesNames: OnboardingTourPopoverContentStylesNames; }>;