import type { Selection } from "../store/SelectionStore";
export type SerializedFieldSelection = {
    type: "point";
    values: unknown[];
} | {
    type: "interval";
    range: [number, number];
};
export interface SerializedSelection {
    name: string;
    resolution: "union" | "intersect" | "crossfilter";
    clauses: Array<{
        clientId: string;
        type: "point" | "interval";
        fields: Record<string, SerializedFieldSelection>;
    }>;
}
export type SerializedSelections = Record<string, SerializedSelection>;
export declare function serializeSelections(selections: Map<string, Selection>): SerializedSelections;
export declare function deserializeSelections(serialized: SerializedSelections): Map<string, Selection>;
