import type { EventType } from '../prisma-client';
import type { PaymentPageProps } from "@calcom/ee/payments/pages/payment";
import type { BookingResponse } from '../features/bookings/types';
type SuccessRedirectBookingType = Pick<BookingResponse | PaymentPageProps["booking"], "uid" | "title" | "description" | "startTime" | "endTime" | "location" | "attendees" | "user" | "responses">;
export declare function getSafe<T>(obj: unknown, path: (string | number)[]): T | undefined;
export declare const getBookingRedirectExtraParams: (booking: SuccessRedirectBookingType) => Record<string, string | boolean | null | undefined>;
export declare const useBookingSuccessRedirect: () => ({ successRedirectUrl, query, booking, forwardParamsSuccessRedirect, }: {
    successRedirectUrl: EventType["successRedirectUrl"];
    forwardParamsSuccessRedirect: EventType["forwardParamsSuccessRedirect"];
    query: Record<string, string | null | undefined | boolean>;
    booking: SuccessRedirectBookingType;
}) => void;
export {};
//# sourceMappingURL=bookingSuccessRedirect.d.ts.map