/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
/**
 * Validates and sanitizes a draft file path.
 *
 * Rejects:
 * - Absolute paths (starting with /)
 * - Path traversal segments (..)
 * - Null bytes
 * - Paths outside allowed directories
 * - Empty paths
 *
 * Returns the validated path (trimmed of leading/trailing whitespace).
 *
 * @throws StudioPathError if the path is invalid
 */
export declare function validateDraftPath(rawPath: string): string;
