import type { JsonLiteral } from "../annotations.js"; import type { Diagnostic } from "../diagnostics/types.js"; type JsonLiteralSnapshot = { readonly ok: true; readonly value: JsonLiteral; readonly diagnostics: readonly Diagnostic[]; } | { readonly ok: false; readonly diagnostics: readonly Diagnostic[]; }; export declare function validateJsonLiteralFragment(value: unknown, label: string): Diagnostic[]; export declare function snapshotJsonLiteralFragment(value: unknown, label: string): JsonLiteralSnapshot; export {};