import { ApiV3 } from '../lib/ApiV3'; import { ConsentUpdate, GetConsentResponse } from '../Types'; /** * Update consent of a messaging identifier * @param apiV3 the v3 API instance to use * @param updates one or more updates to consent for specific identifier values * @throws {HttpError} if it receives any non-2XX result */ export declare function updateConsent(apiV3: ApiV3.API, updates: ConsentUpdate | ConsentUpdate[]): Promise>; /** * Get consent information about an identifier * @param apiV3 the v3 API instance to use * @param identifierName The name of the messaging identifier field for which you want to check consent * @param identifierValue The identifier value to lookup, e.g., a specific email address when identifierName is `email` * @throws {HttpError} if it receives any non-2XX result */ export declare function getConsent(apiV3: ApiV3.API, identifierName: string, identifierValue: string): Promise>; //# sourceMappingURL=consent.d.ts.map