import { KlarnaMerchantUrls } from '../../api/legacy-checkout-types';
import { CountryCode } from 'library/src/common/market-metadata';
export declare const OPEN_DIALOG_QS_PARAM_NAME = "openCheckoutModal";
export declare const CHECKOUT_STATUS_QS_PARAM_NAME = "checkoutStatus";
export declare const TRANSACTION_ID_QS_PARAM_NAME = "transactionId";
export declare const removeConfirmationParamsFromUrl: () => void;
export declare const buildConfirmationUrl: (confirmationUrlFromConf: string, transactionId: string, checkoutId?: string, options?: {
    shouldRetainOriginalQs: boolean;
    isInDialog: boolean;
}) => string;
export declare const createKlarnaMerchantUrls: (market: CountryCode, confirmationUrlFromConf: string, checkoutUrlFromConf: string, isInDialog?: boolean) => KlarnaMerchantUrls;
export declare const isCheckoutIdInUrl: (url: string) => boolean;
export declare const isValidConfirmationUrl: (url: string) => boolean;
export declare const isKlarnaConfirmationUrl: (url: string) => boolean;
export declare const getTransactionIdFromUrl: (url: string) => string | string[];
export declare const shouldOpenCheckoutDialog: () => boolean;
export declare const getAbsoluteUrl: (url: string) => string;
export declare function addToQueryParams(key: string, value: string): void;
export declare function removeFromQueryParams(key: string): void;
export declare function getQueryParamsFromUrl<T>(key: string): T;
//# sourceMappingURL=checkout-urls-utils.d.ts.map