import type { PaymentInstrumentEntity, PaymentTokenEntity } from '../entities/types/index.js'; import type { StoreState } from '../types/index.js'; /** * Returns the payment tokens. * * @param state - Application state. * * @returns Payment tokens object. */ export declare const getPaymentTokens: (state: StoreState) => Record | undefined; /** * Returns the payment token associated with the id. * * @param state - Application state. * @param paymentTokenId - Payment token id. * * @returns - Payment token object. */ export declare const getPaymentToken: (state: StoreState, paymentTokenId: PaymentTokenEntity['id']) => import("@farfetch/blackout-client").PaymentToken | undefined; /** * Returns the payment tokens error. * * @param state - Application state. * * @returns - Payment tokens error. */ export declare const getPaymentTokensError: (state: StoreState) => import("../types/nullable.types.js").Nullable; /** * Returns the result of the payment tokens. * * @param state - Application state. * * @returns - Array of payment token ids. */ export declare const getPaymentTokensResult: (state: StoreState) => import("../types/nullable.types.js").Nullable | undefined; /** * Returns the loading status for the payment tokens. * * @param state - Application state. * * @returns - Loading status. */ export declare const arePaymentTokensLoading: (state: StoreState) => boolean; /** * Returns the fetched status for the payment tokens. * * @param state - Application state. * * @returns - Fetched status. */ export declare const arePaymentTokensFetched: (state: StoreState) => boolean; /** * Returns the payment instruments entities mapped from the current * fetch result. * * @param state - Application state. * * @returns Payment instruments object. */ export declare const getPaymentIntentInstruments: (state: StoreState) => import("@farfetch/blackout-client").PaymentInstrument[] | undefined; /** * Returns the payment instrument with the specified id. * * @param state - Application state. * @param paymentInstrumentId - Instrument identifier to get. * * @returns - Payment instrument object. */ export declare const getPaymentIntentInstrument: (state: StoreState, paymentInstrumentId: PaymentInstrumentEntity['id']) => import("@farfetch/blackout-client").PaymentInstrument | undefined; /** * Returns the loading status of the payment instruments. * * @param state - Application state. * * @returns -Payment intent instruments loading status. */ export declare const arePaymentIntentInstrumentsLoading: (state: StoreState) => boolean; /** * Returns the payment instruments error. * * @param state - Application state. * * @returns - Payment instruments error. */ export declare const getPaymentIntentInstrumentsError: (state: StoreState) => import("../types/nullable.types.js").Nullable; /** * Returns the fetched status of the payment intent instruments. * * @param state - Application state. * * @returns - Payment intent instruments fetched status. */ export declare const arePaymentIntentInstrumentsFetched: (state: StoreState) => boolean; /** * Returns the result of payment instruments operation. * * @param state - Application state. * * @returns Payment instruments operation result. */ export declare const getPaymentIntentInstrumentsResult: (state: StoreState) => import("../types/nullable.types.js").Nullable | undefined; /** * Returns the loading status for the gift card balance operation. * * @param state - Application state. * * @returns Gift card balance Loading status. */ export declare const isGiftCardBalanceLoading: (state: StoreState) => boolean; /** * Returns the error for the gift card balance operation. * * @param state - Application state. * * @returns Gift card balance operation error. */ export declare const getGiftCardBalanceError: (state: StoreState) => import("../types/nullable.types.js").Nullable; /** * Returns the result of gift card balance operation. * * @param state - Application state. * * @returns Gift card balance operation result. */ export declare const getGiftCardBalanceResult: (state: StoreState) => import("../types/nullable.types.js").Nullable; /** * Returns the loading status for the user credit balance operation. * * @param state - Application state. * * @returns User credit balance loading status. */ export declare const isUserCreditBalanceLoading: (state: StoreState) => boolean; /** * Returns the error for the user credit balance operation. * * @param state - Application state. * * @returns User credit balance operation error. */ export declare const getUserCreditBalanceError: (state: StoreState) => import("../types/nullable.types.js").Nullable; /** * Returns the result of user credit balance operation. * * @param state - Application state. * * @returns User credit balance operation result. */ export declare const getUserCreditBalanceResult: (state: StoreState) => import("../types/nullable.types.js").Nullable; /** * Returns the loading status for the payment intent operation. * * @param state - Application state. * * @returns Payment intent Loading status. */ export declare const isPaymentIntentLoading: (state: StoreState) => boolean; /** * Returns the error for the payment intent operation. * * @param state - Application state. * * @returns Payment intent operation error. */ export declare const getPaymentIntentError: (state: StoreState) => import("../types/nullable.types.js").Nullable; /** * Returns the fetched status for the payment intent operation. * * @param state - Application state. * * @returns Payment intent fetched status. */ export declare const isPaymentIntentFetched: (state: StoreState) => boolean; /** * Returns the result of the payment intent operation. * * @param state - Application state. * * @returns Payment intent operation result. */ export declare const getPaymentIntentResult: (state: StoreState) => import("../types/nullable.types.js").Nullable | undefined; /** * Returns the loading status for the payment intent charge operation. * * @param state - Application state. * * @returns Payment intent charge Loading status. */ export declare const isPaymentIntentChargeLoading: (state: StoreState) => boolean; /** * Returns the error for the payment intent charge operation. * * @param state - Application state. * * @returns Payment intent charge operation error. */ export declare const getPaymentIntentChargeError: (state: StoreState) => import("../types/nullable.types.js").Nullable; /** * Returns the result of the payment intent charge operation. * * @param state - Application state. * * @returns Payment intent charge operation result. */ export declare const getPaymentIntentChargeResult: (state: StoreState) => import("../types/nullable.types.js").Nullable; /** * Returns the loading status for the payment methods operation. * * @param state - Application state. * * @returns PaymentMethods Loading status. */ export declare const arePaymentMethodsLoading: (state: StoreState) => boolean; /** * Returns the error for the payment methods operation. * * @param state - Application state. * * @returns PaymentMethods operation error. */ export declare const getPaymentMethodsError: (state: StoreState) => import("../types/nullable.types.js").Nullable; /** * Returns the result of the payment methods operation. * * @param state - Application state. * * @returns PaymentMethods operation result. */ export declare const getPaymentMethodsResult: (state: StoreState) => import("../types/nullable.types.js").Nullable;