/** Resolve a chat reference in a server-selected repository. Cwd-relative
 * names win over root-relative ones. Never turn an outside absolute path
 * into an unrelated in-repository suffix match. Metadata is checked by the
 * same no-symlink reader that will subsequently serve the file's bytes. */
export declare function resolveFilePath(root: string, cwd: string, requested: string): Promise<{
    path: string;
    size: number;
    contentType: string;
    version: string;
}>;
