import { type ScopeAncestor } from '../../../utils/cel-context.js';
export declare function scopeOrigin(ancestor: Pick<ScopeAncestor, 'name' | 'typeName'>): string;
export type ScopeRef = {
    from: number;
    to: number;
    id: string;
    member: string;
};
export declare function scanScopeRefs(text: string): ScopeRef[];
/** A member of an addressable scope, resolved for chip display. */
export type ScopeMemberInfo = {
    label: string;
    type: string;
};
/** Display data for one addressable ancestor, keyed by member name. */
export type ScopeInfo = {
    origin: string;
    members: Map<string, ScopeMemberInfo>;
};
export declare function buildScopeLookup(ancestry: ReadonlyArray<ScopeAncestor>): Map<string, ScopeInfo>;
