/** Single path segment for asset ids (no slashes or traversal). */ export declare const ASSET_ID_PATTERN: RegExp; /** Relative registry paths like `skills/foo` or `skills/foo/bar`. */ export declare const RELATIVE_ASSET_PATH_PATTERN: RegExp; export declare function isSafeAssetId(id: string): boolean; export declare function assertSafeAssetId(id: string, label?: string): string; /** * Normalize and validate a registry-relative asset path (forward slashes only). * Rejects absolute paths, `..`, empty segments, and backslashes. */ export declare function assertSafeRelativePath(rel: string, label?: string): string; /** * Ensure `candidate` resolves inside `root` (or equals root). * Returns the resolved candidate path. */ export declare function assertPathInside(root: string, candidate: string, label?: string): string; //# sourceMappingURL=paths.d.ts.map