import type { ReactElement } from "react";
import React from "react";
import type { BookerPlatformWrapperAtomPropsForTeam } from "../booker/types";
/**
 * Renders the Router component with predefined props.
 * Depending on the routing form either renders a custom message, redirects or display Booker embed atom.
 * formResponsesURLParams contains the answers to the questions fields defined in the form.
 * ```tsx
 * <Router
 *   formId="1a1a1a1a-2b2b-3c3c-4d4d-5e5e5e5e5e5e"
 *   formResponsesURLParams={new URLSearchParams({ Territory: "Europe" })}
 *   bookerProps={{
 *    customClassNames: { bookerWrapper: "dark" },
 *    bannerUrl: "https://i0.wp.com/mahala.co.uk/wp-content/uploads/2014/12/img_banner-thin_mountains.jpg?fit=800%2C258&ssl=1",
 *    onCreateBookingSuccess: (data) => console.log(data),
 *    onCreateBookingError: (err) => console.error(err)
 * />
 * ```
 */
export declare const Router: React.MemoExoticComponent<({ formId, formResponsesURLParams, onExternalRedirect, onDisplayBookerEmbed, renderMessage, onSubmitFormStart, onSubmitFormEnd, renderLoader, bookerProps, }: {
    formId: string;
    formResponsesURLParams?: URLSearchParams;
    onExternalRedirect?: () => void;
    onDisplayBookerEmbed?: () => void;
    onSubmitFormStart?: () => void;
    onSubmitFormEnd?: () => void;
    renderMessage?: (message?: string) => ReactElement | ReactElement[];
    bookerProps?: Pick<Partial<BookerPlatformWrapperAtomPropsForTeam>, "customClassNames" | "bannerUrl" | "onCreateBookingSuccess" | "onCreateBookingError" | "onCreateRecurringBookingSuccess" | "onCreateRecurringBookingError" | "onReserveSlotSuccess" | "onReserveSlotError" | "onDeleteSlotSuccess" | "onDeleteSlotError" | "view" | "onDryRunSuccess" | "hostsLimit" | "metadata" | "handleCreateBooking" | "handleSlotReservation" | "preventEventTypeRedirect">;
    renderLoader?: (isLoading?: boolean) => ReactElement | ReactElement[];
}) => JSX.Element>;
//# sourceMappingURL=Router.d.ts.map