/** * Path-safety helpers for peaks-loop artifact paths. * * Extracted after the v2.19.0 change-id root removal. The change-id * axis was eliminated entirely; the remaining helper utilities are * path-traversal / absolute-path / drive-path / UNC-path guards plus * a path-containment check used by writer code. * * Used by services that need a "is this user-supplied path safe?" * check without bringing in the change-id axis. */ export declare function isUnsafePathInput(input: string): boolean; export declare function isUnsafeArtifactPath(path: string): boolean; declare function normalizeArtifactPath(input: string): string; export { normalizeArtifactPath as _normalizeArtifactPath }; /** * Path-containment check. Returns true when `path` equals `artifactRoot` * or starts with `/`. Used by workspace reconcile to * verify on-disk paths stay inside the artifact workspace. */ export declare function isPathInsideArtifactRoot(path: string, artifactRoot: string): boolean;