import type { EntityName } from "./entities.js"; export type OutputFormat = "auto" | "summary" | "detail" | "json" | "jsonl" | "markdown" | "bibtex"; export interface RenderContext { format: OutputFormat; title: string; fields?: string[]; entity?: EntityName | "rate-limit"; } export declare function resolveOutputFormat(format: OutputFormat): Exclude; export declare function renderEnvelope(ctx: RenderContext, payload: unknown): string;