import { SearchJSItem } from '../types';
export declare class Encoder {
    /**
     * encode item to string
     *
     * @param {SearchJSItem} item
     * @returns {string}
     */
    static encode(item: SearchJSItem): string;
    /**
     * decode string to item
     * @param {string} data
     * @returns {SearchJSItem}
     */
    static decode(data: string): SearchJSItem;
}
