/** * Render a stored condition value as editable text. * - undefined -> empty string (no value set, e.g. a freshly-added condition) * - null -> the literal "null" (so an intentional null reads as deliberate rather than an unfilled * field, and still round-trips back to null through textToValue) * - string -> the raw string (so '${currentUserId}' and 'someKey' show without quotes) * - everything else (number, boolean, array, object) -> its JSON representation */ declare function valueToText(value: unknown): string; /** * Parse editable text back into a stored condition value. * - empty string -> null * - valid JSON (number, boolean, null, array, object, quoted string) -> the parsed value * - anything else -> the raw string (so 'view' or '${currentUserId}' stay strings) */ declare function textToValue(text: string): unknown; export { textToValue, valueToText };