import { type EntityTypeName } from '../entities/entity.js'; /** * Extract @slug people mentions from text. * Avoids matching email addresses (word preceded by non-whitespace is skipped). */ export declare function extractPeopleMentions(text: string): string[]; /** * Extract type:slug entity references from text. * Accepts an optional list of valid type names; falls back to a hardcoded * default so callers that don't have type info still work. */ export declare function extractEntityRefs(text: string, validTypes?: readonly string[]): { type: EntityTypeName; slug: string; }[]; /** * Resolve all @mentions and type:slug references in the given text. * Returns a formatted context block, or empty string if nothing resolves. */ export declare function resolveReferences(text: string): Promise; //# sourceMappingURL=mentions.d.ts.map