import { type ImageBudget } from "../attachments/image-content.js"; import type { ChatImage } from "../types.js"; import { extractMentionTokens, normalizeDroppedPath, stabilizeImagePaths } from "./mentions/expand.js"; export { expandMentions } from "./mentions/expand.js"; export { extractMentionTokens, normalizeDroppedPath, stabilizeImagePaths }; export type { Attachment, AttachmentKind, ExpandMentionsOptions, MentionExpansion } from "./mentions/expand.js"; export { findFileSuggestions } from "./mentions/file-suggestions.js"; export type { FileSuggestion } from "./mentions/file-suggestions.js"; export declare function imageMediaType(absPath: string): string | undefined; export declare function formatAttachmentReference(path: string, baseDir?: string): string; export declare function getMentionQuery(line: string, cursor: number): { query: string; start: number; } | null; export declare function extractExistingPathsFs(line: string, baseDir: string): string[]; export declare function stabilizeDroppedFilesInText(text: string, baseDir?: string): { text: string; files: string[]; images: string[]; }; export declare function stabilizeDroppedImagesInText(text: string, baseDir?: string): { text: string; images: string[]; }; export declare function imageAttachmentPaths(line: string, baseDir?: string): string[]; export declare function loadImagePaths(paths: readonly string[], budget?: ImageBudget, baseDir?: string): ChatImage[]; export declare function loadImageAttachments(line: string, baseDir?: string): ChatImage[];