import { ISubscribeParams, ISubscription, ICreateSubscriptionParams, IGetSubscriptionsParams, IGetSubscriptionParams, IUpdateSubscriptionParams } from "./types";
/**
 * create a subscription for user (existing or not) to a newsletter
 *
 * @param {ISubscribeParams} options
 * @return {Promise<ISubscription>}
 */
export declare function subscribe(options: ISubscribeParams): Promise<ISubscription>;
/**
 * create a subscription for user (existing) to a newsletter
 *
 * @param {ICreateSubscriptionParams} options
 * @return {Promise<ISubscription>}
 */
export declare function createSubscription(options: ICreateSubscriptionParams): Promise<ISubscription>;
/**
 * get subscriptions
 *
 * @param {IGetSubscriptionsParams} options
 * @return {Promise<ISubscription[]>}
 */
export declare function getSubscriptions(options: IGetSubscriptionsParams): Promise<ISubscription[]>;
/**
 * get a subscription
 *
 * @param {IGetSubscriptionParams} options
 * @return {Promise<ISubscription>}
 */
export declare function getSubscription(options: IGetSubscriptionParams): Promise<ISubscription>;
/**
 * update a subscription
 *
 * @param {IUpdateSubscriptionParams} options
 * @return {Promise<ISubscription>}
 */
export declare function updateSubscription(options: IUpdateSubscriptionParams): Promise<ISubscription>;
