import type { CliContext } from '../utils/types.ts'; import type { CliMiddlewareFactory, DiscoveryGetter } from './types.ts'; export type FnMode = 'api' | 'fs'; /** * Middleware that serves documents by finding and assembling them on-demand. * * @param getDiscovery - Getter function for the current discovery result * @param ctx - CLI context for authentication * @param fnMode - Function context mode: 'api' (default) uses remote server, 'fs' uses local filesystem */ export declare const serveDocument: CliMiddlewareFactory<[getDiscovery: DiscoveryGetter, ctx: CliContext, fnMode?: FnMode]>; //# sourceMappingURL=serveDocument.d.ts.map