/**
 * Rust Language Plugin
 *
 * Provides Rust-specific AST handling, taint patterns, and framework detection.
 */
import type { Node as SyntaxNode } from 'web-tree-sitter';
import type { TypeInfo, CallInfo, ImportInfo } from '../../types/index.js';
import type { LanguageNodeTypes, ExtractionContext, FrameworkInfo, TaintSourcePattern, TaintSinkPattern } from '../types.js';
import { BaseLanguagePlugin } from './base.js';
/**
 * Rust language plugin implementation.
 */
export declare class RustPlugin extends BaseLanguagePlugin {
    readonly id: "rust";
    readonly name = "Rust";
    readonly extensions: string[];
    readonly wasmPath = "tree-sitter-rust.wasm";
    readonly nodeTypes: LanguageNodeTypes;
    /**
     * Detect Rust frameworks from imports.
     */
    detectFramework(context: ExtractionContext): FrameworkInfo | undefined;
    /**
     * Rust taint source patterns.
     */
    getBuiltinSources(): TaintSourcePattern[];
    /**
     * Rust taint sink patterns.
     */
    getBuiltinSinks(): TaintSinkPattern[];
    /**
     * Get receiver type from a call expression.
     */
    getReceiverType(node: SyntaxNode, context: ExtractionContext): string | undefined;
    /**
     * Check if node is a Rust string literal.
     */
    isStringLiteral(node: SyntaxNode): boolean;
    /**
     * Get string value from Rust string literal.
     */
    getStringValue(node: SyntaxNode): string | undefined;
    extractTypes(context: ExtractionContext): TypeInfo[];
    extractCalls(context: ExtractionContext): CallInfo[];
    extractImports(context: ExtractionContext): ImportInfo[];
    extractPackage(context: ExtractionContext): string | undefined;
}
//# sourceMappingURL=rust.d.ts.map