import type { HttpError } from "@fastify/sensible"; import type { FastifyError, FastifyReply, FastifyRequest } from "fastify"; import type { LogLevel, PinoLoggerOptions } from "fastify/types/logger.js"; import { type LoggingOptions } from "./field-filter.js"; import { type FullLoggingRequest, type LoggingContext, type LoggingError, type LoggingPseudoUser } from "./logging-wrapper-entities.js"; export declare const setLoggingOptions: (options?: LoggingOptions) => void; type INPUT_ERROR_TYPES = FastifyError | HttpError; export declare const getLoggingContext: (params: { includeError: boolean; }) => LoggingContext; export declare const setLoggingContext: (params: { request?: FastifyRequest; response?: FastifyReply; error?: INPUT_ERROR_TYPES; pseudoUser?: LoggingPseudoUser; }) => void; export declare const resetLoggingContext: () => void; export declare const getLoggingContextError: () => LoggingError | undefined; export declare const getPartialLoggingContextError: () => Omit | undefined; export declare const parseFullLoggingRequest: (req: FastifyRequest) => FullLoggingRequest; export declare const getLoggerConfiguration: (minimumLevel?: LogLevel) => PinoLoggerOptions; export {}; //# sourceMappingURL=logging-wrapper.d.ts.map