import * as AllPaymentMethods from '../PaymentMethods';
export type AvailablePaymentMethods = typeof AllPaymentMethods;
export type ServiceCode = keyof AvailablePaymentMethods;
export type PaymentMethodInstance<Code extends ServiceCode> = InstanceType<AvailablePaymentMethods[Code]>;
export declare function getMethod<Code extends ServiceCode>(code: Code): PaymentMethodInstance<Code>;
