import type Parser from "web-tree-sitter";
import type { CodeSymbol, SymbolKind } from "../../types.js";
export declare const MAX_SOURCE_LENGTH = 5000;
export declare function getNodeName(node: Parser.SyntaxNode): string | null;
export declare function extractNodeSource(node: Parser.SyntaxNode, source: string): string;
export declare function makeSymbol(node: Parser.SyntaxNode, name: string, kind: SymbolKind, filePath: string, source: string, repo: string, opts?: {
    parentId?: string | undefined;
    docstring?: string | undefined;
    signature?: string | undefined;
    decorators?: string[] | undefined;
    extends?: string[] | undefined;
    implements?: string[] | undefined;
    is_async?: boolean | undefined;
    is_exported?: boolean | undefined;
    meta?: Record<string, unknown> | undefined;
}): CodeSymbol;
//# sourceMappingURL=_shared.d.ts.map