import type { LPMName } from "../config/lpmRegistry"; import type { LPMSessionFields, LPMOneTimePaymentSession, LPMOneTimePaymentSessionOptions, LPMOneTimePaymentSessionPromise, LPMPresentationModeOptions, BasePaymentSessionReturn } from "../types"; export interface LPMPaymentSessionReturn extends BasePaymentSessionReturn { session: LPMOneTimePaymentSession | null; handleValidate: () => Promise; } export type UseLPMOneTimePaymentSessionProps = { lpm: LPMName; } & ((Omit & { createOrder: () => LPMOneTimePaymentSessionPromise; orderId?: never; }) | (LPMOneTimePaymentSessionOptions & { createOrder?: never; orderId: string; })) & LPMPresentationModeOptions & LPMSessionFields; export declare function useLPMOneTimePaymentSession({ lpm, presentationMode, fullPageOverlay, createOrder, orderId, ...callbacks }: UseLPMOneTimePaymentSessionProps): LPMPaymentSessionReturn;