/** * Canonical path aliases accepted at host and subc preparation boundaries. * * Compatibility is intentionally about decoded string values only. The * preparation layer must not trim, normalize, fold case, rewrite separators, * or resolve paths before comparing the two spellings. */ import { AftToolError } from "./error-contract.js"; export type CanonicalPathTool = "read" | "write" | "edit" | "zoom" | "callgraph" | "safety" | "move" | "import" | "refactor" | "grep" | "search" | "conflicts"; export declare class InvalidRequestError extends AftToolError { constructor(message: string); } /** Return false for lone UTF-16 surrogate code units. */ export declare function isWellFormedUnicodeString(value: string): boolean; /** * Prepare raw arguments for one registered tool before schema validation. * * The returned object is a fresh object, and nested zoom targets are copied, * so an alias conflict or invalid value cannot partially mutate caller state. */ export declare function prepareCanonicalPathArguments(toolName: string, rawArguments: unknown): Record; /** * Normalize a raw edit request before a host has parsed or stripped it. * * Edit has compatibility-only top-level fields that are intentionally absent * from its published schema. This function therefore owns mode selection, * item-family validation, and scalar coercion instead of relying on a typed * execute handler that may never see those fields. */ export declare function prepareCanonicalEditArguments(toolName: string, rawArguments: unknown): Record; //# sourceMappingURL=path-aliases.d.ts.map