import { ErrorListener } from "antlr4";
import { IKeyObjectValue } from "../type";
export declare function parseTcc(program: string, hasTranscoding: boolean, getImportLibraryFunc: (obj: IKeyObjectValue) => IKeyObjectValue, keyObjs: IKeyObjectValue): Promise<{
    errors: any[];
    functions: {
        [k: string]: import("../type").IDocValue[];
    };
    variables: {
        [k: string]: import("../type").IDocValue[];
    };
    types: {
        [k: string]: import("../type").IDocValue[];
    };
    methods: {
        [k: string]: import("../type").IDocValue[];
    };
    overloadsFuncs: import("../type").IKeyValue[];
    imports: {
        [k: string]: IKeyObjectValue;
    };
    enums: {
        [k: string]: import("../type").IDocValue[];
    };
    codeStr: string;
    preParserCode: string | undefined;
    config: IKeyObjectValue;
}>;
export declare function parseLibraryCode(program: string, libTitle: string, getImportLibraryFunc: (obj: IKeyObjectValue) => IKeyObjectValue, keyObjs: IKeyObjectValue): Promise<{
    description: string;
    codeStr: string;
    hasLeftVisibleBarTime: boolean | undefined;
    hasRightVisibleBarTime: boolean | undefined;
    functions: import("../type").IDocValue[];
    methods: import("../type").IDocValue[];
    types: import("../type").IDocValue[];
    enums: import("../type").IDocValue[];
}>;
export declare class ExprErrorListener extends ErrorListener {
    errors: any[];
    syntaxError(_: any, __: any, line: number, column: number, msg: string): void;
}
