import Parser, { Language } from 'web-tree-sitter';
import { BaseStructurerProvider } from "../base/StructurerProvider";
import { CodeFile } from "../../codemodel/CodeElement";
import { LanguageProfile } from "../base/LanguageProfile";
export declare class RustStructurer extends BaseStructurerProvider {
    protected langId: string;
    protected config: LanguageProfile;
    protected parser: Parser | undefined;
    protected language: Language | undefined;
    isApplicable(lang: string): lang is "rust";
    parseFile(code: string, filepath: string): Promise<CodeFile | undefined>;
    private parseParameters;
    private createEmptyClassStructure;
    private mergeStructures;
}
