UNPKG

@c15t/react

Version:

Developer-first CMP for React: cookie banner, consent manager, preferences centre. GDPR ready with minimal setup and rich customization

12 lines 751 B
import type { ContractsInputs, ContractsOutputs } from 'c15t'; export type SetConsentRequestBody = ContractsInputs['consent']['post']; export type SetConsentResponse = ContractsOutputs['consent']['post']; export type ShowConsentBannerResponse = ContractsOutputs['consent']['showBanner']; export type VerifyConsentRequestBody = ContractsInputs['consent']['verify']; export type VerifyConsentResponse = ContractsOutputs['consent']['verify']; export declare function setupMocks(): { mockFetch: import("vitest").Mock<(...args: any[]) => any>; mockConfigureConsentManager: import("vitest").Mock<(...args: any[]) => any>; }; export declare const TestConsumer: () => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=test-helpers.d.ts.map