import type express from 'express'; import { type LexValue, l } from '@atproto/lex'; import type { HandlerPipeThrough } from '@atproto/xrpc-server'; import type { AppContext } from '../context.js'; import type { HandlerResponse, LocalRecords, MungeFn } from './types.js'; export declare const getLocalLag: (local: LocalRecords) => number | undefined; export declare const pipethroughReadAfterWrite: >; }>(ctx: AppContext, reqCtx: { req: express.Request; auth: { credentials: { did: string; }; }; }, ns: l.Main, munge: MungeFn>) => Promise> | HandlerPipeThrough>; export declare const formatMungedResponse: (body: T, lag?: number) => HandlerResponse; //# sourceMappingURL=util.d.ts.map