Files
ipal-kit/dist/modules/consent/ConsentContext.d.ts
T
2026-08-03 12:24:28 +02:00

13 lines
458 B
TypeScript

import { type ReactNode } from 'react';
import type { ConsentTexts } from './texts.js';
import { useConsent } from './useConsent.js';
type ConsentContextValue = {
texts: ConsentTexts;
} & ReturnType<typeof useConsent>;
export declare function ConsentProvider({ children, texts }: {
children: ReactNode;
texts: ConsentTexts;
}): import("react/jsx-runtime").JSX.Element;
export declare function useConsentContext(): ConsentContextValue;
export {};