import wn from '../../../../../../node_modules/preact/compat/dist/compat.module.mjs';
import { createContext as F } from '../../../../../../node_modules/preact/dist/preact.module.mjs';
import { useContext as q } from '../../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';

const ConsentManifestGeneratorContext = /*#__PURE__*/ F(undefined);
const TrustedAuthTokenParamsContext = /*#__PURE__*/ F(undefined);
const IDPContextProvider = ({ children, consentManifestGenerator, authTokenParams })=>{
    return /*#__PURE__*/ wn.createElement(ConsentManifestGeneratorContext.Provider, {
        value: consentManifestGenerator
    }, /*#__PURE__*/ wn.createElement(TrustedAuthTokenParamsContext.Provider, {
        value: authTokenParams
    }, children));
};
const useConsentManifestGenerator = ()=>q(ConsentManifestGeneratorContext);
const useTrustedAuthTokenParams = ()=>q(TrustedAuthTokenParamsContext);

export { IDPContextProvider, useConsentManifestGenerator, useTrustedAuthTokenParams };
//# sourceMappingURL=IDPContextProvider.mjs.map
