/** * Deterministic TypeScript-literal formatters for showcase codegen. * Keep all value→source-string conversion here (no ad-hoc JSON.stringify elsewhere). */ export declare function escapeTsString(value: string): string; export declare function indentBlock(source: string, spaces: number): string; export declare function joinLines(lines: ReadonlyArray): string; export declare function joinSections(sections: ReadonlyArray): string; /** * Serialize a value as a TypeScript expression (not JSON). * Objects use bare keys; undefined properties are omitted when building via * {@link serializeTsObject}. */ export declare function serializeTsValue(value: unknown): string; /** * Build a multi-line object literal from pre-serialized field expressions. * Null/undefined/empty field sources are skipped. */ export declare function serializeTsObject(fields: ReadonlyArray, indent?: number): string;