import type { FastifyInstance } from 'fastify'; import { type ReplaySealRequest, type ReplaySealStatusResponse } from '../provenance/replay-seal-service'; export interface ReplaySealRouteService { submit(request: ReplaySealRequest, idempotencyKey: string): Promise; getStatus(sealId: string): Promise; } /** Build the protected KOSMOS replay/seal routes with an injectable service. */ export declare function createReplaySealRoutes(service: ReplaySealRouteService): (fastify: FastifyInstance) => Promise; export default function replaySealRoutes(fastify: FastifyInstance): Promise;