/**
 * Replaces @path tokens in the input string with <path>file contents</path> XML blocks for LLM context.
 * Only replaces if the path points to a file; directories are ignored.
 */
export declare function expandFileTags(raw: string): Promise<string>;
/**
 * Collapses <path>content</path> XML blocks back to @path format.
 * This is the reverse operation of expandFileTags.
 * Only collapses blocks where the path points to a valid file; invalid paths remain unchanged.
 */
export declare function collapseXmlBlocks(text: string): string;
