/** * Terminal drag-and-drop normalization. * * A terminal has no drop event: dropping a file onto the window delivers the * dropped file's PATH as input text (Windows Terminal, macOS Terminal, iTerm2 * and kitty all do this, differing only in quoting and escaping). The composer * therefore recognizes an incoming image path and turns it into the `@` * reference the send pipeline already understands, so a dropped picture * reaches the model as an image block instead of a stray literal path in the * draft. */ /** * The `@` reference for an input chunk that is exactly one existing image * file path, as a terminal delivers it for a drag-and-drop. * @param raw - the text one input event carried. * @param baseDir - directory a relative path resolves against (the session * cwd), matching how mention expansion resolves the reference later. * @returns the reference to insert, or undefined for prose, a non-image, * a non-local URI or a missing file. */ export declare function droppedImageMention(raw: string, baseDir?: string): string | undefined; //# sourceMappingURL=droppedFile.d.ts.map