import { JSONPath } from "jsonc-parser";
import { JsonPath, Range } from "./types";
export interface JsonInstance {
    getLocation(path: JSONPath): Range;
    getValue(): any;
}
export interface IJsonParser {
    parse(text: string): JsonInstance;
}
export declare class JsonParser implements IJsonParser {
    parse(text: string): {
        getLocation: (path: JsonPath) => {
            start: {
                line: number;
                column: number;
            };
            end: {
                line: number;
                column: number;
            };
        };
        getValue: () => any;
    };
}
