import { charge as charge_ } from './Charge.js';
import { session as sessionIntent_ } from './Session.js';
import { sessionManager as session_ } from './SessionManager.js';
import { subscription as subscription_ } from './Subscription.js';
/**
 * Creates both Tempo `charge` and `session` client methods from shared parameters.
 *
 * @example
 * ```ts
 * import { Mppx, tempo } from 'mppx/client'
 *
 * const mppx = Mppx.create({
 *   methods: [tempo({ account })],
 * })
 * ```
 */
export function tempo(parameters = {}) {
    return [charge_(parameters), sessionIntent_(parameters)];
}
(function (tempo) {
    /** Creates a Tempo `charge` client method for one-time TIP-20 token transfers. */
    tempo.charge = charge_;
    /** Creates a client-side streaming session for managing payment channels. */
    tempo.session = session_;
    /** Creates a Tempo `subscription` client method for recurring TIP-20 payments. */
    tempo.subscription = subscription_;
})(tempo || (tempo = {}));
//# sourceMappingURL=Methods.js.map