/** * Formatting a JSON value for display and for the clipboard: the inline primitive * text and its syntax class, the clipboard serialization, and the copy-failure * messages. */ /** Shown when the browser offers no clipboard at all (any non-secure context). */ export declare const NO_CLIPBOARD = "This browser will not write to the clipboard here. Select the value and copy it by hand."; /** Shown when the write, or the value's serialization, is offered and refused. */ export declare function copyFailed(reason: unknown): string; export declare function primitiveText(value: unknown): string; /** The syntax class for a primitive's type; anything outside JSON reads as muted. */ export declare function primitiveClass(value: unknown): string; /** * The value's pretty JSON for the clipboard. A value JSON cannot represent (a * function, a bare `undefined`) has no JSON, so its readable form is copied * rather than an empty string. A value JSON REFUSES (a `bigint`) throws here, and * the caller renders that as the same visible alert a blocked write is. */ export declare function serializeForCopy(value: unknown): string; //# sourceMappingURL=json-value-format.d.ts.map