import { HttpResponse } from '../http/types'; export declare type CreateTokenParams = { organisation_id: string; currency: string; }; export declare type CreateTokenResponse = { token?: string; }; export declare type ClientNonceParams = { organisation_id: string; }; export declare type ClientNonceResponse = { nonce?: string; last_four?: string; card_type?: string; }; export interface AddPaymentCardParams extends ClientNonceParams { nonce: string; } export declare type ProviderId = 'Braintree'; export declare type Provider = { id: ProviderId; }; export declare type LoyaltyProgram = { id?: string; name?: string; }; export declare type PaymentProvidersResponse = { provider?: Provider; loyalty_programme?: LoyaltyProgram; }; export interface Payment { createClientToken(params: CreateTokenParams): Promise>; getClientNonce(params: ClientNonceParams): Promise>; addPaymentCard(params: AddPaymentCardParams): Promise>; createBraintreeClientToken(params: CreateTokenParams): Promise>; getBraintreeClientNonce(params: ClientNonceParams): Promise>; addBraintreePaymentCard(params: AddPaymentCardParams): Promise>; getPaymentProvider(): Promise>; }