@tantainnovative/ndpr-toolkit 1.0.7 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/README.md +20 -2
  2. package/dist/index.d.mts +224 -32
  3. package/dist/index.d.ts +442 -18
  4. package/dist/index.js +190 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +190 -1
  7. package/dist/index.mjs.map +1 -1
  8. package/dist/unstyled.d.mts +4 -4
  9. package/dist/unstyled.d.ts +22 -2
  10. package/package.json +48 -49
  11. package/dist/components/breach-notification/BreachNotificationForm.d.ts +0 -18
  12. package/dist/components/breach-notification/BreachNotificationForm.d.ts.map +0 -1
  13. package/dist/components/consent/ConsentBanner.d.ts +0 -30
  14. package/dist/components/consent/ConsentBanner.d.ts.map +0 -1
  15. package/dist/components/consent/ConsentManager.d.ts +0 -51
  16. package/dist/components/consent/ConsentManager.d.ts.map +0 -1
  17. package/dist/components/consent/ConsentSettings.d.ts +0 -15
  18. package/dist/components/consent/ConsentSettings.d.ts.map +0 -1
  19. package/dist/components/consent/unstyled/UnstyledConsentBanner.d.ts +0 -7
  20. package/dist/components/consent/unstyled/UnstyledConsentBanner.d.ts.map +0 -1
  21. package/dist/components/consent/unstyled/UnstyledConsentSettings.d.ts +0 -7
  22. package/dist/components/consent/unstyled/UnstyledConsentSettings.d.ts.map +0 -1
  23. package/dist/components/consent/unstyled/UnstyledConsentToggle.d.ts +0 -8
  24. package/dist/components/consent/unstyled/UnstyledConsentToggle.d.ts.map +0 -1
  25. package/dist/components/consent/unstyled/index.d.ts +0 -4
  26. package/dist/components/consent/unstyled/index.d.ts.map +0 -1
  27. package/dist/components/data-subject-rights/DataSubjectRequestForm.d.ts +0 -14
  28. package/dist/components/data-subject-rights/DataSubjectRequestForm.d.ts.map +0 -1
  29. package/dist/components/docs/DocLayout.d.ts +0 -9
  30. package/dist/components/docs/DocLayout.d.ts.map +0 -1
  31. package/dist/components/docs/index.d.ts +0 -2
  32. package/dist/components/docs/index.d.ts.map +0 -1
  33. package/dist/components/dpia/DPIAQuestionnaire.d.ts +0 -9
  34. package/dist/components/dpia/DPIAQuestionnaire.d.ts.map +0 -1
  35. package/dist/components/privacy-policy/PolicyGenerator.d.ts +0 -12
  36. package/dist/components/privacy-policy/PolicyGenerator.d.ts.map +0 -1
  37. package/dist/components/privacy-policy/data.d.ts +0 -8
  38. package/dist/components/privacy-policy/data.d.ts.map +0 -1
  39. package/dist/components/privacy-policy/shared/CheckboxField.d.ts +0 -13
  40. package/dist/components/privacy-policy/shared/CheckboxField.d.ts.map +0 -1
  41. package/dist/components/privacy-policy/shared/CheckboxGroup.d.ts +0 -13
  42. package/dist/components/privacy-policy/shared/CheckboxGroup.d.ts.map +0 -1
  43. package/dist/components/privacy-policy/shared/FormField.d.ts +0 -13
  44. package/dist/components/privacy-policy/shared/FormField.d.ts.map +0 -1
  45. package/dist/components/privacy-policy/shared/StepIndicator.d.ts +0 -8
  46. package/dist/components/privacy-policy/shared/StepIndicator.d.ts.map +0 -1
  47. package/dist/components/privacy-policy/steps/CustomSectionsStep.d.ts +0 -15
  48. package/dist/components/privacy-policy/steps/CustomSectionsStep.d.ts.map +0 -1
  49. package/dist/components/privacy-policy/steps/DataCollectionStep.d.ts +0 -20
  50. package/dist/components/privacy-policy/steps/DataCollectionStep.d.ts.map +0 -1
  51. package/dist/components/privacy-policy/steps/DataSharingStep.d.ts +0 -34
  52. package/dist/components/privacy-policy/steps/DataSharingStep.d.ts.map +0 -1
  53. package/dist/components/privacy-policy/steps/OrganizationInfoStep.d.ts +0 -17
  54. package/dist/components/privacy-policy/steps/OrganizationInfoStep.d.ts.map +0 -1
  55. package/dist/components/privacy-policy/steps/PolicyPreviewStep.d.ts +0 -30
  56. package/dist/components/privacy-policy/steps/PolicyPreviewStep.d.ts.map +0 -1
  57. package/dist/components/ui/Badge.d.ts +0 -10
  58. package/dist/components/ui/Badge.d.ts.map +0 -1
  59. package/dist/components/ui/Button.d.ts +0 -11
  60. package/dist/components/ui/Button.d.ts.map +0 -1
  61. package/dist/components/ui/Card.d.ts +0 -10
  62. package/dist/components/ui/Card.d.ts.map +0 -1
  63. package/dist/components/ui/Checkbox.d.ts +0 -8
  64. package/dist/components/ui/Checkbox.d.ts.map +0 -1
  65. package/dist/components/ui/FormField.d.ts +0 -11
  66. package/dist/components/ui/FormField.d.ts.map +0 -1
  67. package/dist/components/ui/Input.d.ts +0 -6
  68. package/dist/components/ui/Input.d.ts.map +0 -1
  69. package/dist/components/ui/Select.d.ts +0 -6
  70. package/dist/components/ui/Select.d.ts.map +0 -1
  71. package/dist/components/ui/TextArea.d.ts +0 -6
  72. package/dist/components/ui/TextArea.d.ts.map +0 -1
  73. package/dist/components/ui/dialog.d.ts +0 -18
  74. package/dist/components/ui/dialog.d.ts.map +0 -1
  75. package/dist/components/ui/label.d.ts +0 -5
  76. package/dist/components/ui/label.d.ts.map +0 -1
  77. package/dist/components/ui/switch.d.ts +0 -5
  78. package/dist/components/ui/switch.d.ts.map +0 -1
  79. package/dist/components/ui/tabs.d.ts +0 -8
  80. package/dist/components/ui/tabs.d.ts.map +0 -1
  81. package/dist/contexts/ConsentContext.d.ts +0 -35
  82. package/dist/contexts/ConsentContext.d.ts.map +0 -1
  83. package/dist/contexts/GenericConsentContext.d.ts +0 -11
  84. package/dist/contexts/GenericConsentContext.d.ts.map +0 -1
  85. package/dist/hooks/useConsent.d.ts +0 -12
  86. package/dist/hooks/useConsent.d.ts.map +0 -1
  87. package/dist/hooks/useConsentActions.d.ts +0 -12
  88. package/dist/hooks/useConsentActions.d.ts.map +0 -1
  89. package/dist/hooks/useConsentManager.d.ts +0 -14
  90. package/dist/hooks/useConsentManager.d.ts.map +0 -1
  91. package/dist/hooks/useConsentState.d.ts +0 -10
  92. package/dist/hooks/useConsentState.d.ts.map +0 -1
  93. package/dist/index.d.ts.map +0 -1
  94. package/dist/lib/consentService.d.ts +0 -11
  95. package/dist/lib/consentService.d.ts.map +0 -1
  96. package/dist/lib/dpiaQuestions.d.ts +0 -3
  97. package/dist/lib/dpiaQuestions.d.ts.map +0 -1
  98. package/dist/lib/requestService.d.ts +0 -10
  99. package/dist/lib/requestService.d.ts.map +0 -1
  100. package/dist/lib/utils.d.ts +0 -3
  101. package/dist/lib/utils.d.ts.map +0 -1
  102. package/dist/types/consent.d.ts +0 -57
  103. package/dist/types/consent.d.ts.map +0 -1
  104. package/dist/types/index.d.ts +0 -91
  105. package/dist/types/index.d.ts.map +0 -1
  106. package/dist/unstyled.d.ts.map +0 -1
package/README.md CHANGED
@@ -173,6 +173,24 @@ The GitHub Pages deployment is configured in the following files:
173
173
 
174
174
  MIT License
175
175
 
176
- ## Developed by
176
+ ## Author
177
177
 
178
- Tanta Innovative - Positioning as a thought leader in regulatory tech solutions for Nigeria
178
+ **Abraham Esandayinze Tanta**
179
+
180
+ Senior Software Engineer with over a decade of experience in ethical hacking, software development, Linux and network administration. Based in Lagos, Nigeria.
181
+
182
+ - GitHub: [@mr-tanta](https://github.com/mr-tanta)
183
+ - Email: sir.tanta@gmail.com
184
+ - LinkedIn: [Abraham Tanta](https://linkedin.com/in/abraham-tanta)
185
+
186
+ ## Contributing
187
+
188
+ Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
189
+
190
+ ## Support
191
+
192
+ If you find this toolkit helpful, please consider:
193
+ - ⭐ Starring the repository
194
+ - 🐛 Reporting bugs and issues
195
+ - 💡 Suggesting new features
196
+ - 🤝 Contributing to the codebase
package/dist/index.d.mts CHANGED
@@ -1,4 +1,5 @@
1
- import React$1, { ReactNode } from 'react';
1
+ import * as React$1 from 'react';
2
+ import React__default, { ReactNode } from 'react';
2
3
  export { ConsentBanner as UnstyledConsentBanner, ConsentSettings as UnstyledConsentSettings, ConsentToggle as UnstyledConsentToggle } from './unstyled.mjs';
3
4
 
4
5
  interface ConsentCategories {
@@ -24,14 +25,14 @@ interface ConsentActions$1 {
24
25
  }
25
26
  interface ConsentContextValue$1 extends ConsentState$1, ConsentActions$1 {
26
27
  }
27
- declare const ConsentContext: React$1.Context<ConsentContextValue$1 | undefined>;
28
+ declare const ConsentContext: React__default.Context<ConsentContextValue$1 | undefined>;
28
29
  interface ConsentProviderProps$1 {
29
30
  children: ReactNode;
30
31
  initialConsent?: Partial<ConsentCategories>;
31
32
  onConsentChange?: (consent: ConsentCategories) => void;
32
33
  storageKey?: string;
33
34
  }
34
- declare function ConsentProvider({ children, initialConsent, onConsentChange, storageKey, }: ConsentProviderProps$1): React$1.JSX.Element;
35
+ declare function ConsentProvider({ children, initialConsent, onConsentChange, storageKey, }: ConsentProviderProps$1): React__default.JSX.Element;
35
36
  declare function useConsent(): ConsentContextValue$1;
36
37
 
37
38
  /**
@@ -95,8 +96,8 @@ interface ConsentProviderProps<T extends BaseConsentCategories = DefaultConsentC
95
96
  * Factory function to create a typed consent context
96
97
  */
97
98
  declare function createConsentContext<T extends BaseConsentCategories = DefaultConsentCategories>(): {
98
- ConsentContext: React$1.Context<ConsentContextValue<T> | undefined>;
99
- ConsentProvider: ({ children, initialConsent, onConsentChange, storageKey, categories, }: ConsentProviderProps<T>) => React$1.JSX.Element;
99
+ ConsentContext: React__default.Context<ConsentContextValue<T> | undefined>;
100
+ ConsentProvider: ({ children, initialConsent, onConsentChange, storageKey, categories, }: ConsentProviderProps<T>) => React__default.JSX.Element;
100
101
  useConsent: () => ConsentContextValue<T>;
101
102
  };
102
103
 
@@ -107,20 +108,20 @@ interface ConsentBannerProps {
107
108
  textColor?: string;
108
109
  backgroundColor?: string;
109
110
  };
110
- position?: 'top' | 'bottom' | 'center';
111
- animation?: 'slide' | 'fade' | 'none';
111
+ position?: "top" | "bottom" | "center";
112
+ animation?: "slide" | "fade" | "none";
112
113
  fullWidth?: boolean;
113
114
  maxWidth?: string;
114
115
  unstyled?: boolean;
115
116
  className?: string;
116
117
  children?: ReactNode;
117
118
  }
118
- interface ConsentBannerComponent extends React$1.FC<ConsentBannerProps> {
119
- Message: React$1.FC<{
119
+ interface ConsentBannerComponent extends React__default.FC<ConsentBannerProps> {
120
+ Message: React__default.FC<{
120
121
  children: ReactNode;
121
122
  className?: string;
122
123
  }>;
123
- Actions: React$1.FC<{
124
+ Actions: React__default.FC<{
124
125
  children: ReactNode;
125
126
  className?: string;
126
127
  }>;
@@ -138,7 +139,7 @@ interface ConsentSettingsProps {
138
139
  className?: string;
139
140
  children?: ReactNode;
140
141
  }
141
- declare const ConsentSettings: React$1.FC<ConsentSettingsProps>;
142
+ declare const ConsentSettings: React__default.FC<ConsentSettingsProps>;
142
143
 
143
144
  interface BannerProps {
144
145
  onAcceptAll: () => void;
@@ -161,26 +162,26 @@ interface RenderProps {
161
162
  closeSettings: () => void;
162
163
  };
163
164
  }
164
- interface ConsentManagerProps extends Omit<ConsentProviderProps$1, 'children'> {
165
+ interface ConsentManagerProps extends Omit<ConsentProviderProps$1, "children"> {
165
166
  children?: ReactNode | ((props: RenderProps) => ReactNode);
166
167
  headless?: boolean;
167
168
  renderBanner?: (props: BannerProps) => ReactNode;
168
169
  renderSettings?: (props: SettingsProps) => ReactNode;
169
170
  components?: {
170
- Banner?: React$1.ComponentType<any>;
171
- Settings?: React$1.ComponentType<any>;
171
+ Banner?: React__default.ComponentType<unknown>;
172
+ Settings?: React__default.ComponentType<unknown>;
172
173
  };
173
174
  theme?: {
174
175
  primaryColor?: string;
175
176
  textColor?: string;
176
177
  backgroundColor?: string;
177
178
  };
178
- position?: 'top' | 'bottom' | 'center';
179
- animation?: 'slide' | 'fade' | 'none';
179
+ position?: "top" | "bottom" | "center";
180
+ animation?: "slide" | "fade" | "none";
180
181
  fullWidth?: boolean;
181
182
  maxWidth?: string;
182
183
  }
183
- interface ConsentManagerComponent extends React$1.FC<ConsentManagerProps> {
184
+ interface ConsentManagerComponent extends React__default.FC<ConsentManagerProps> {
184
185
  Banner: typeof ConsentBanner;
185
186
  Settings: typeof ConsentSettings;
186
187
  }
@@ -208,49 +209,240 @@ declare function useConsentActions(): {
208
209
  updateConsent: (category: keyof ConsentCategories, value: boolean) => void;
209
210
  };
210
211
 
211
- type ConsentEventType = 'consent:accepted' | 'consent:rejected' | 'consent:updated' | 'banner:shown' | 'banner:hidden' | 'settings:opened' | 'settings:closed';
212
- type ConsentEventListener = (data?: any) => void;
212
+ type ConsentEventType = "consent:accepted" | "consent:rejected" | "consent:updated" | "banner:shown" | "banner:hidden" | "settings:opened" | "settings:closed";
213
+ type ConsentEventListener = (data?: unknown) => void;
213
214
  interface ConsentEventManager {
214
215
  on: (event: ConsentEventType, listener: ConsentEventListener) => () => void;
215
216
  off: (event: ConsentEventType, listener: ConsentEventListener) => void;
216
- emit: (event: ConsentEventType, data?: any) => void;
217
+ emit: (event: ConsentEventType, data?: unknown) => void;
217
218
  }
218
219
  /**
219
220
  * Advanced hook that provides event-driven consent management
220
221
  */
221
222
  declare function useConsentManager(): ConsentEventManager & ReturnType<typeof useConsent>;
222
223
 
223
- type ConsentType = 'necessary' | 'functional' | 'analytics' | 'marketing';
224
+ type DSRStatus = "pending" | "in-progress" | "completed" | "rejected";
225
+ type DSRType = "access" | "rectification" | "erasure" | "portability" | "objection" | "restriction";
226
+ type RequestType = DSRType;
227
+ interface DSRRequestType {
228
+ id: string;
229
+ name: string;
230
+ description: string;
231
+ estimatedCompletionTime: number;
232
+ requiresAdditionalInfo: boolean;
233
+ }
234
+ interface ConsentOption {
235
+ id: string;
236
+ label: string;
237
+ description: string;
238
+ required?: boolean;
239
+ defaultValue?: boolean;
240
+ }
241
+ interface BreachReport {
242
+ id: string;
243
+ title: string;
244
+ description: string;
245
+ category: string;
246
+ discoveredAt: number;
247
+ reportedAt: number;
248
+ reporter: {
249
+ name: string;
250
+ email: string;
251
+ department: string;
252
+ };
253
+ affectedSystems: string[];
254
+ dataTypes: string[];
255
+ estimatedAffectedSubjects: number;
256
+ status: "ongoing" | "resolved" | "contained";
257
+ initialActions: string;
258
+ }
259
+ interface DPIAQuestion {
260
+ id: string;
261
+ text: string;
262
+ type: "yes-no" | "multiple-choice" | "text" | "number" | "textarea" | "select" | "radio" | "checkbox" | "scale";
263
+ options?: Array<{
264
+ id?: string;
265
+ label: string;
266
+ value: string;
267
+ riskLevel?: unknown;
268
+ }>;
269
+ required?: boolean;
270
+ category?: string;
271
+ guidance?: string;
272
+ minValue?: number;
273
+ maxValue?: number;
274
+ scaleLabels?: Record<string, string>;
275
+ }
276
+ type RiskAssessmentQuestion = DPIAQuestion;
277
+ type BreachSeverity = "low" | "medium" | "high" | "critical";
224
278
  interface ConsentRecord {
225
279
  id: string;
226
280
  userId?: string;
227
- consents: Record<ConsentType, boolean>;
228
- timestamp: string;
281
+ consents: Record<string, boolean>;
282
+ timestamp: Date;
283
+ ipAddress?: string;
284
+ userAgent?: string;
285
+ version: string;
286
+ }
287
+ interface ConsentHistoryEntry {
288
+ timestamp: Date;
289
+ consents: Record<string, boolean>;
290
+ action: "granted" | "revoked" | "updated";
229
291
  ipAddress?: string;
230
292
  userAgent?: string;
293
+ version: string;
294
+ }
295
+ interface DSRRequest {
296
+ id: string;
297
+ type: DSRType;
298
+ status: DSRStatus;
299
+ createdAt: number;
300
+ updatedAt: number;
301
+ dueDate: number;
302
+ completedAt?: number;
303
+ subject: {
304
+ name: string;
305
+ email: string;
306
+ phone?: string;
307
+ };
308
+ description: string;
231
309
  }
232
- interface ConsentHistoryEntry extends ConsentRecord {
233
- changeReason?: string;
310
+ interface RiskAssessment {
311
+ id: string;
312
+ breachId: string;
313
+ riskLevel: "low" | "medium" | "high" | "critical";
314
+ assessment: string;
315
+ mitigationMeasures: string[];
316
+ assessedAt: number;
317
+ assessor: string;
318
+ }
319
+ interface DPIAResult {
320
+ id: string;
321
+ title: string;
322
+ processingDescription: string;
323
+ startedAt: number;
324
+ completedAt?: number;
325
+ assessor: {
326
+ name: string;
327
+ role: string;
328
+ email: string;
329
+ };
330
+ answers: Record<string, unknown>;
331
+ risks: Array<{
332
+ id: string;
333
+ description: string;
334
+ likelihood: number;
335
+ impact: number;
336
+ score: number;
337
+ level: string;
338
+ mitigationMeasures: string[];
339
+ mitigated?: boolean;
340
+ residualScore?: number;
341
+ relatedQuestionIds?: string[];
342
+ }>;
343
+ overallRiskLevel: "low" | "medium" | "high" | "critical";
344
+ canProceed: boolean;
345
+ conclusion: string;
346
+ recommendations: string[];
347
+ reviewDate: number;
348
+ version: string;
349
+ }
350
+ interface PolicyVariable {
351
+ name: string;
352
+ label: string;
353
+ type: "text" | "textarea" | "select" | "checkbox" | "date";
354
+ required?: boolean;
355
+ options?: string[];
356
+ defaultValue?: unknown;
357
+ }
358
+ interface PolicyTemplate {
359
+ id: string;
360
+ name: string;
361
+ description: string;
362
+ sections: PolicySection[];
363
+ variables: PolicyVariable[];
364
+ version: string;
365
+ }
366
+ interface PolicySection {
367
+ id: string;
368
+ title: string;
369
+ content: string;
370
+ template?: string;
371
+ required: boolean;
372
+ order: number;
373
+ included?: boolean;
374
+ variables?: string[];
234
375
  }
235
376
 
236
377
  declare const consentService: {
237
- saveConsent: (consents: Record<ConsentType, boolean>, userId?: string) => ConsentRecord;
378
+ saveConsent: (consents: Record<string, boolean>, userId?: string) => ConsentRecord;
238
379
  getCurrentConsent: () => ConsentRecord | null;
239
380
  getConsentHistory: () => ConsentHistoryEntry[];
240
- updateConsent: (consents: Record<ConsentType, boolean>, changeReason?: string, userId?: string) => ConsentRecord;
241
- clearConsentData: () => void;
242
- hasConsent: (type: ConsentType) => boolean;
381
+ updateConsent: (consents: Record<string, boolean>, changeReason?: string, userId?: string) => ConsentRecord;
382
+ clearConsentData: () => boolean;
383
+ hasConsent: (type: string) => boolean;
243
384
  };
244
385
 
386
+ interface BreachNotificationFormProps {
387
+ onSubmit: (data: {
388
+ title: string;
389
+ description: string;
390
+ discoveryDate: string;
391
+ affectedDataSubjects: number;
392
+ dataCategories: string[];
393
+ severity: BreachSeverity;
394
+ mitigationSteps: string[];
395
+ reportedToAuthorities: boolean;
396
+ reportedToDataSubjects: boolean;
397
+ }) => void;
398
+ className?: string;
399
+ }
400
+ declare function BreachNotificationForm({ onSubmit, className, }: BreachNotificationFormProps): React$1.JSX.Element;
401
+
402
+ interface DPIAQuestionnaireProps {
403
+ questions: RiskAssessmentQuestion[];
404
+ onSubmit: (answers: Record<string, number>, projectName: string) => void;
405
+ className?: string;
406
+ }
407
+ declare function DPIAQuestionnaire({ questions, onSubmit, className, }: DPIAQuestionnaireProps): React$1.JSX.Element;
408
+
409
+ interface DataSubjectRequestFormProps {
410
+ onSubmit: (data: {
411
+ requestType: RequestType;
412
+ name: string;
413
+ email: string;
414
+ details: string;
415
+ consent: boolean;
416
+ }) => void;
417
+ className?: string;
418
+ }
419
+ declare function DataSubjectRequestForm({ onSubmit, className, }: DataSubjectRequestFormProps): React$1.JSX.Element;
420
+
421
+ interface PolicyGeneratorProps {
422
+ onGenerate: (policy: {
423
+ organizationName: string;
424
+ organizationContact: string;
425
+ sections: PolicySection[];
426
+ }) => void;
427
+ className?: string;
428
+ }
429
+ declare function PolicyGenerator({ onGenerate, className, }: PolicyGeneratorProps): React__default.JSX.Element;
430
+
245
431
  declare const cookieUtils: {
246
432
  set: (name: string, value: string, days: number) => void;
247
433
  get: (name: string) => string | null;
248
434
  delete: (name: string) => void;
249
435
  };
250
436
  declare const consentStorage: {
251
- save: (key: string, data: any) => void;
252
- load: (key: string) => any | null;
437
+ save: (key: string, data: unknown) => void;
438
+ load: <T = unknown>(key: string) => T | null;
439
+ remove: (key: string) => void;
440
+ };
441
+
442
+ declare const ConsentStorage: {
443
+ save: (key: string, data: unknown) => void;
444
+ load: <T = unknown>(key: string) => T | null;
253
445
  remove: (key: string) => void;
254
446
  };
255
447
 
256
- export { type BannerProps, type BaseConsentCategories, type ConsentActions$1 as ConsentActions, ConsentBanner, type ConsentCategories, ConsentContext, type ConsentContextValue$1 as ConsentContextValue, ConsentManager, type ConsentManagerProps, ConsentProvider, type ConsentProviderProps, ConsentSettings, type ConsentState$1 as ConsentState, type DefaultConsentCategories, type RenderProps, type SettingsProps, consentService, consentStorage, cookieUtils, createConsentContext, useConsent, useConsentActions, useConsentManager, useConsentState };
448
+ export { type BannerProps, type BaseConsentCategories, BreachNotificationForm as BreachNotificationManager, type BreachReport, BreachNotificationForm as BreachReportForm, BreachNotificationForm as BreachRiskAssessment, type BreachSeverity, type ConsentActions$1 as ConsentActions, ConsentBanner, type ConsentCategories, ConsentContext, type ConsentContextValue$1 as ConsentContextValue, type ConsentHistoryEntry, ConsentManager, type ConsentManagerProps, type ConsentOption, ConsentProvider, type ConsentProviderProps, type ConsentRecord, ConsentSettings, type ConsentState$1 as ConsentState, ConsentStorage, type DPIAQuestion, DPIAQuestionnaire, type DPIAResult, DataSubjectRequestForm as DSRDashboard, type DSRRequest, DataSubjectRequestForm as DSRRequestForm, type DSRRequestType, type DSRStatus, DataSubjectRequestForm as DSRTracker, type DSRType, type DefaultConsentCategories, PolicyGenerator as PolicyExporter, PolicyGenerator, PolicyGenerator as PolicyPreview, type PolicySection, type PolicyTemplate, type PolicyVariable, BreachNotificationForm as RegulatoryReportGenerator, type RenderProps, type RequestType, type RiskAssessment, type SettingsProps, consentService, consentStorage, cookieUtils, createConsentContext, useConsent, useConsentActions, useConsentManager, useConsentState };