import { JsonNested } from "../../utils/zod"; /** * Rendering properties used to control how data is processed and returned * in tRPC routes and repository functions. */ export interface RenderingProps { /** * Whether to truncate input/output fields to a specific character limit */ truncated: boolean; /** * Whether to skip JSON parsing of input/output fields and return them as raw strings. * This is useful when the client will handle JSON parsing to avoid double parsing. */ shouldJsonParse: boolean; } /** * Default rendering properties */ export declare const DEFAULT_RENDERING_PROPS: RenderingProps; /** * Transform input/output fields based on rendering properties. */ export declare const applyInputOutputRendering: (io: string | null | undefined, renderingProps: RenderingProps) => JsonNested | string | null; //# sourceMappingURL=rendering.d.ts.map