export declare function textOfJson(v: unknown): string;
export declare function prettyJson(raw: unknown, empty?: string): string;
export declare function hasJsonContent(raw: unknown): boolean;
export type JsonParseResult = {
    ok: true;
    value: unknown;
} | {
    ok: false;
    error: string;
};
export declare function parseJsonInput(raw: string): JsonParseResult;
