/**
 * Lightweight JSON-shape guards used by the AI admin forms.
 *
 * All AI admin pages that accept raw JSON (tool parameters schema, dataset variables, dataset
 * expected output) call these helpers client-side before submitting — the server validates
 * again, but the client-side check produces a tighter error message and avoids a wasted
 * round-trip on obviously broken payloads.
 */
/**
 * True when the input parses as JSON. Empty / whitespace-only input is treated as invalid
 * (callers shouldn't be sending an empty payload to a JSON-typed field).
 */
export declare function isValidJson(input: string): boolean;
/**
 * True when the input parses as a JSON object (`{...}`) — not an array, primitive, or null.
 * Used by the tool parameters schema field where only object schemas make sense.
 */
export declare function isValidJsonObject(input: string): boolean;
//# sourceMappingURL=jsonValidation.d.ts.map