/** * @fileoverview The per-variable value entry census_query_data and census_compare_geographies both * return, and how one renders in content[]. Shared so the two surfaces and the two tools cannot * describe the same cell differently. * @module mcp-server/tools/variable-entry */ import type { CensusFlag, CensusVariableValue } from '../../services/census-api/types.js'; /** One variable's value as the data tools return it in `rows[].variables`. */ export interface VariableEntry { estimate: number | null; flag?: CensusFlag; label: string; moe?: number | null; open_ended?: boolean; suppressed: boolean; suppression_reason?: string; value?: string; } /** Map a parsed value onto the output entry, under the label the variable cache resolved. */ export declare function toVariableEntry(value: CensusVariableValue, label: string): VariableEntry; /** * Render one entry as the markdown lines `format()` emits: the value — or why there is none — * with its margin, open-ended marker, and flag, then the label when it says more than the code. */ export declare function renderVariable(code: string, entry: VariableEntry): string[]; //# sourceMappingURL=variable-entry.d.ts.map