UNPKG

c15t

Version:

Headless JavaScript consent management platform for cookie banners, privacy preferences, consent storage, and script gating.

8 lines (7 loc) 434 B
import type { SetConsentRequestBody, SetConsentResponse } from '../client-interface'; import type { FetchOptions, ResponseContext } from '../types'; import type { EndpointHandlers } from './types'; /** * Sets consent preferences for a subject. */ export declare function setConsent(endpointHandlers: EndpointHandlers, options?: FetchOptions<SetConsentResponse, SetConsentRequestBody>): Promise<ResponseContext<SetConsentResponse>>;