import type { BlueprintError } from '../types/errors.js';
/**
 * Whether a path stays within the directory it is resolved against, i.e. it is
 * relative and never climbs above its starting point.
 * @param path The path to check
 * @hidden
 * @category Validation
 * @returns true when the path is relative and does not escape its root
 */
export declare function isContainedRelativePath(path: string): boolean;
/**
 * Validates that the given resource is a valid window view.
 * @param resource The window view
 * @hidden
 * @category Validation
 * @returns A list of validation errors
 */
export declare function validateWindowView(resource: unknown): BlueprintError[];
/**
 * Validates that the given resource is a valid panel view.
 * @param resource The panel view
 * @hidden
 * @category Validation
 * @returns A list of validation errors
 */
export declare function validatePanelView(resource: unknown): BlueprintError[];
/**
 * Validates that the given resource is a valid asset source view.
 * @param resource The asset source view
 * @hidden
 * @category Validation
 * @returns A list of validation errors
 */
export declare function validateAssetSourceView(resource: unknown): BlueprintError[];
/**
 * Validates that the given resource is a valid tile view.
 * @param resource The tile view
 * @hidden
 * @category Validation
 * @returns A list of validation errors
 */
export declare function validateTileView(resource: unknown): BlueprintError[];
/**
 * Validates that the given resource is a valid web worker.
 * @param resource The web worker
 * @hidden
 * @category Validation
 * @returns A list of validation errors
 */
export declare function validateWebWorker(resource: unknown): BlueprintError[];
/**
 * Validates that the given resource is a valid Application.
 * @param resource The Application resource
 * @hidden
 * @category Validation
 * @returns A list of validation errors
 */
export declare function validateApplication(resource: unknown): BlueprintError[];
