import type { DiffEntry, JsonValueType } from './types'; export declare function get_value_type(value: unknown): JsonValueType; export declare const is_expandable_type: (value_type: JsonValueType) => boolean; export declare const is_primitive_type: (value_type: JsonValueType) => boolean; export declare const is_expandable: (value: unknown) => boolean; export declare function get_child_count(value: unknown): number; export declare function format_path(segments: (string | number)[]): string; export declare function build_path(parent_path: string, key: string | number): string; export declare function serialize_for_copy(value: unknown): string; export declare function format_preview(value: unknown, max_length?: number): string; export declare function matches_search(path: string, key: string | number | null, value: unknown, query: string): boolean; export declare function collect_all_paths(value: unknown, current_path?: string, max_depth?: number, current_depth?: number, seen?: WeakSet): string[]; export declare function find_matching_paths(value: unknown, query: string, current_path?: string, current_key?: string | number | null, seen?: WeakSet): Set; export declare function get_ancestor_paths(path: string): string[]; export declare function parse_path(path: string): (string | number)[]; export declare function values_equal(val_a: unknown, val_b: unknown): boolean; export declare function parse_edited_value(text: string): unknown; export declare function set_at_path(root: unknown, path_str: string, new_value: unknown, root_label?: string): unknown; export declare const is_url: (str: string) => boolean; export declare function is_css_color(str: string): boolean; export declare function estimate_byte_size(value: unknown, max_depth?: number, current_depth?: number): number; export interface GhostEntry { key: string | number; value: unknown; path: string; } export declare function build_ghost_map(diff_map: Map): Map; export declare function format_byte_size(bytes: number): string; export declare function compute_diff(old_val: unknown, new_val: unknown, current_path?: string, result?: Map, seen?: WeakSet): Map;