import Provider, * as oidc from 'oidc-provider'; import { Grant } from 'oidc-provider'; export * from 'oidc-provider'; //===================================// // MISSING NON-EXPORTED OIDC TYPES // //===================================// /* RE-EXPORT oidc-provider types */ export type OidcProvider = Provider; export type OidcConfiguration = oidc.Configuration; // RE-EXPORT oidc-provider class export const OidcProvider = Provider; // export type Session = Awaited>; export type InteractionDetails = Awaited>; // export type Grant = Awaited>>; export type LoadExistingGrant = (ctx: oidc.KoaContextWithOIDC) => oidc.CanBePromise;