import { Client } from './client'; export declare class ListClient extends Client { /** * @deprecated The clientKey parameter is deprecated and will be removed in a future release. * * Subscribe a user to a list * @param listId - The ID of the list to subscribe to * @param clientKey - The client key for your Courier project * @returns Promise resolving when subscription is complete * @see https://www.courier.com/docs/api-reference/lists/subscribe-user-profile-to-list */ putSubscription(props: { listId: string; clientKey: string; }): Promise; /** * @deprecated The clientKey parameter is deprecated and will be removed in a future release. * * Unsubscribe a user from a list * @param listId - The ID of the list to unsubscribe from * @param clientKey - The client key for your Courier project * @returns Promise resolving when unsubscription is complete * @see https://www.courier.com/docs/api-reference/lists/unsubscribe-user-profile-from-list */ deleteSubscription(props: { listId: string; clientKey: string; }): Promise; }