import { AsyncLocalStorage } from 'node:async_hooks'; import type { AuthzContext } from './authz-context'; /** * Singleton ALS condivisa. Importata ovunque serva leggere/popolare il context. * * Esempio popolamento (middleware/guard): * authzAls.run(buildAuthzContext(req), () => next()); * * Esempio lettura (repository/extension hook): * const ctx = authzAls.getStore(); * if (!ctx) throw new UnscopedQueryException(); */ export declare const authzAls: AsyncLocalStorage; //# sourceMappingURL=als.d.ts.map