export declare function resolvePath(cwd: string, filePath: string): string;
/**
 * Check if a path is a symlink. Used by file tools to prevent symlink-based
 * attacks that could read/write sensitive files outside the working directory.
 */
export declare function rejectSymlink(resolved: string): Promise<void>;
/**
 * A relative path as the AGENT should see it: always forward slashes.
 *
 * Every path the model reads or writes — tool results, review messages, code
 * search headers, its own `edit`/`read` arguments — is forward-slashed, because
 * that is what the training data and every other tool use. Emitting a native
 * `src\a.ts` on Windows makes the model's own echo of that path a different
 * string from ours, which breaks anything that matches on it (review coverage
 * did exactly this), and makes output gratuitously OS-dependent.
 *
 * Windows APIs accept forward slashes, so this is display/matching only and is
 * safe to feed back into `path.resolve`. Do NOT use it for paths handed to a
 * shell or written into a file that Windows tooling will parse.
 */
export declare function toPosixPath(relativePath: string): string;
//# sourceMappingURL=path-utils.d.ts.map