import { MiddlewareOptions } from '../utils'; /** * Axiomify (https://github.com/OTopman/axiomify) plugin. * * Untyped against `@axiomify/core` on purpose — same convention as the * Prisma/Mongoose/TypeORM adapters, none of which are peer dependencies. * * Masking here must stay SYNCHRONOUS. Axiomify's `res.send()` serializes * and writes to the socket before returning (`NativeResponse.send()` is * fully sync, and `SerializerFn` construction rejects async serializers * outright), and `onPostHandler` hooks — e.g. `@axiomify/logger` reading * `res.payload` — run immediately after the handler with no await on * `res.send()`'s internal work. Deferring the real send into a microtask * (the way the Express/Fastify adapters do for async maskers) would let * those hooks observe a response that isn't masked yet. Async custom * maskers (e.g. the WebCrypto deterministic masker) aren't supported * through this integration — mask those fields in the handler yourself * before calling `res.send()`. */ export declare function axiomify(app: any, options?: MiddlewareOptions): void; //# sourceMappingURL=axiomify.d.ts.map