13 lines
458 B
TypeScript
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 {};
|