/** * A function that takes an email address and returns a Promise with the subscription status: true * for success, false for failure. * * @param {string} emailAddress * @return {Promise} */ export declare type SubscribeFunction = (emailAddress: string) => Promise; export declare const API_ENDPOINT = "https://proxy.mycryptoapi.com/mc"; /** * `useSubscribe` hook which returns a subscribe function. * * @param {string} listId * @param {string} tag * @return {SubscribeFunction} */ export declare const useSubscribe: (listId: string, tag: string) => SubscribeFunction;