import type { FastifyInstance } from "fastify"; import type { AuthService } from "../auth/service.js"; import { type IdempotencyCoordinator } from "./idempotency.js"; export interface StoredHttpResponse { statusCode: number; contentType?: string; payload: string; encoding: "utf8" | "base64"; } /** Adds optional Idempotency-Key support uniformly to authenticated JSON POST actions. */ export declare function registerIdempotencyHooks(app: FastifyInstance, auth: AuthService, coordinator: IdempotencyCoordinator): void; //# sourceMappingURL=idempotency-hook.d.ts.map