/**
 * @fileoverview Provides utility functions for the backup and restore service,
 * including secure path resolution and backup rotation management.
 * @module src/services/neo4j/backupRestoreService/backupUtils
 */
export declare const validatedBackupRoot: string;
/**
 * Securely resolves a path against a base directory and ensures it stays within that base.
 * @param basePath The absolute, validated base path.
 * @param targetPath The relative or absolute path to resolve.
 * @returns The resolved absolute path if it's within the base path, otherwise null.
 */
export declare const secureResolve: (basePath: string, targetPath: string) => string | null;
/**
 * Manages backup rotation, deleting the oldest backups if the count exceeds the limit.
 */
export declare const manageBackupRotation: () => Promise<void>;
