import { ConfirmCardPaymentData, ConfirmCardPaymentOptions } from '@stripe/stripe-js';
import { LegacyModularCheckoutContextData, NewModularCheckoutContextData, PaymentDependsOn } from './types';
import { DeepPartial } from '../../common/utils/types';
import { From } from '../../common/analytics/from';
import { ExpressPaymentProvider } from './checkout-payment-method-selector/hooks/use-payment-express-provider';
export declare const useLegacyCheckoutContextFromContextAndProp: (checkoutContextFromProp?: DeepPartial<LegacyModularCheckoutContextData>) => LegacyModularCheckoutContextData;
export declare const useCheckoutContextFromContextAndProp: (checkoutContextFromProp?: DeepPartial<NewModularCheckoutContextData>) => NewModularCheckoutContextData;
export declare const useNewCheckoutFormValidations: () => boolean;
export declare function useCountryCode(): {
    fixedCountryLabel: any;
    fixedCountryValue: string;
};
export declare type StripeConfirmPaymentArguments = {
    data: ConfirmCardPaymentData;
    options?: ConfirmCardPaymentOptions;
};
export declare const useConfirmTransactionStripe: () => (confirmPaymentArgs: StripeConfirmPaymentArguments, afterTransaction?: () => Promise<void>) => Promise<void>;
export declare const useDependsOn: (dependsOn: PaymentDependsOn) => boolean;
export declare const useFrom: () => From.CHECKOUT | From.CART;
export declare const useConfirmTransactionExpress: (paymentMethod: ExpressPaymentProvider) => (confirmPaymentArgs: StripeConfirmPaymentArguments, checkoutId: string, afterTransaction?: () => Promise<void>) => Promise<void>;
export declare const useConfirmTransactionPaypal: () => (paypalOrderId: string, checkoutId: string, afterTransaction?: () => Promise<void>) => Promise<void>;
//# sourceMappingURL=hooks.d.ts.map