import { PaymentPageProps } from '@calcom/ee/payments/pages/payment';
import { BookingResponse } from '../types';
import { EventType } from '../../../kysely/types.ts';
export declare function getNewSearchParams(args: {
    query: Record<string, string | null | undefined | boolean>;
    searchParams?: URLSearchParams;
    filterInternalParams?: boolean;
}): URLSearchParams;
type SuccessRedirectBookingType = Pick<BookingResponse | PaymentPageProps["booking"], "uid" | "title" | "description" | "startTime" | "endTime" | "location" | "attendees" | "user" | "responses">;
export declare const getBookingRedirectExtraParams: (booking: SuccessRedirectBookingType) => Record<string, string | boolean | null | undefined>;
export declare const useBookingSuccessRedirect: () => ({ successRedirectUrl, query, booking, forwardParamsSuccessRedirect, redirectUrlOnNoRoutingFormResponse, }: {
    successRedirectUrl: EventType["successRedirectUrl"];
    forwardParamsSuccessRedirect: EventType["forwardParamsSuccessRedirect"];
    redirectUrlOnNoRoutingFormResponse?: EventType["redirectUrlOnNoRoutingFormResponse"];
    query: Record<string, string | null | undefined | boolean>;
    booking: SuccessRedirectBookingType;
}) => void;
export {};
//# sourceMappingURL=bookingSuccessRedirect.d.ts.map