UNPKG

@gent-js/gent

Version:

template-based data generator.

7 lines (6 loc) 665 B
import type { DocumentContext } from "../document/index.js"; import type { JsonableObject, JsonableValue } from "./jsonableTypes.js"; import type { JsonObject, JsonValue } from "./jsonTypes.js"; export declare function stringifyJsonable(value: JsonableValue, keyOrIndex: string | number, context: DocumentContext): string | undefined; export declare function transformJsonableIntoJsonValue(value: JsonableValue, keyOrIndex: string | number, context: DocumentContext): JsonValue | undefined; export declare function transformJsonableObjectIntoJsonObject(jsonableObject: JsonableObject, keyOrIndex: string | number, context: DocumentContext): JsonObject | undefined;