import { Prometheus, TRequestRecorder, createCounter, createGauge, createHistogram, createSummary, defaultNormalizers, defaultRegister, getContentType, getSummary, timing } from "@promster/metrics"; import { TLabelValues, TOptionalPromsterOptions } from "@promster/types"; import { FastifyInstance, FastifyReply, FastifyRequest } from "fastify"; export type * from "@promster/types"; //#region src/plugin.d.ts declare const getRequestRecorder: () => TRequestRecorder; declare const signalIsUp: () => void; declare const signalIsNotUp: () => void; type TSkipFunction = (_req: TRequest, _res: TResponse, _labels: TLabelValues) => boolean; type TPromsterOptions = TOptionalPromsterOptions & { skip?: TSkipFunction; }; declare const createPlugin: (fastify: FastifyInstance, options: TPromsterOptions) => Promise; declare const plugin: typeof createPlugin; //#endregion export { Prometheus, type TPromsterOptions, createCounter, createGauge, createHistogram, createSummary, defaultNormalizers, defaultRegister, getContentType, getRequestRecorder, getSummary, plugin, signalIsNotUp, signalIsUp, timing }; //# sourceMappingURL=index.d.ts.map