import type { ParsedFile, ParsedSymbol } from '../types.js';
import type { EntitySignatureEvidenceV2, EntitySourceSpanV2, EntitySyntaxEvidenceV2 } from './types.js';
export interface ExtractedEntityEvidenceV2 {
    sourceSpan: EntitySourceSpanV2;
    exactSource: string;
    exactBodyHash: string;
    syntaxEvidence: EntitySyntaxEvidenceV2;
    signatureEvidence: EntitySignatureEvidenceV2;
}
/**
 * Join parser declarations to manifest-pinned CST nodes without changing the
 * shared parser contract. Missing or ambiguous joins simply provide no V2
 * evidence; callers then classify changes as unknown.
 */
export declare function extractEntityEvidenceV2(file: ParsedFile, relativePath: string, options?: {
    leadingUtf8Bytes?: number;
}): Promise<Map<ParsedSymbol, ExtractedEntityEvidenceV2>>;
export declare function exactSourceForRecord(content: string, record: {
    sourceSpan?: EntitySourceSpanV2;
}): string | undefined;
export declare function grammarForEntityPath(relativePath: string): string | undefined;
