import { Facet } from '@codemirror/state';
import { Input, NodeType, Parser, PartialParse } from '@lezer/common';
import { CodemirrorParseTokenType } from './constants';
import 'prismjs/components/prism-cypher';
import { CypherConfig } from './langCypher';
export declare class ParserAdapter extends Parser {
    private config;
    cypherTokenTypeToNode: Record<CodemirrorParseTokenType, NodeType>;
    constructor(facet: Facet<unknown>, config: CypherConfig);
    createParse(input: Input): PartialParse;
    startParse(input: string | Input): PartialParse;
    private buildTree;
    private antlrParse;
    private prismParse;
    private createBufferForAntlrTokens;
    private createBufferForPrismTokens;
    private createEmptyTree;
    private addTopNodeToBuffer;
}
