import { ChangeEventPayload, ChargeParams, ConfigureParams, PaymentResult as PaymentResult, GetPaymentResultParams, QueryTransactionsParams, QueryTransactionsResult, RefundParams, RefundResult } from "./ReactNativeYoco.types"; import { PaymentType, ResultCodes, SupportedCurrency } from "./ReactNativeYocoEnums"; /** * Initialises Yoco SDK * @returns {void} * @throws {Error} */ export declare function initialise(): void; /** * Configures Yoco SDK * @param params Configuration parameters * @returns {void} * @throws {Error} */ export declare function configure(params: ConfigureParams): void; /** * Get device type * @returns {string} */ export declare function getDeviceType(): string; /** * Pairs Yoco terminal * @returns {ResultCodes} * @throws {Error} with ResultCodes as message */ export declare function pairTerminal(): Promise; /** * Making a payment * @param params * @returns {Promise} */ export declare function charge(params: ChargeParams): Promise; export declare function getPaymentResult(params: GetPaymentResultParams): Promise; export declare function refund(params: RefundParams): Promise; export declare function queryTransactions(params: QueryTransactionsParams): Promise; export { ChangeEventPayload, ConfigureParams, PaymentType, SupportedCurrency, ChargeParams, PaymentResult, ResultCodes, QueryTransactionsParams, QueryTransactionsResult, RefundParams, RefundResult, }; //# sourceMappingURL=index.d.ts.map