/**
 * True when `candidate` is strictly inside `rootDir` (not equal to it and not
 * outside it). Used so clean never deletes the repo root itself or anything
 * above it.
 */
export declare function isStrictlyInsideRoot(rootDir: string, candidate: string): boolean;
/**
 * Resolve clean patterns relative to `baseDir` and ensure every resolved path
 * stays strictly inside `rootDir` (the monorepo root).
 *
 * - Absolute patterns are rejected (must be package-relative).
 * - Empty / whitespace-only patterns are rejected.
 * - Patterns that resolve outside or to the root itself throw.
 *
 * Returns absolute paths/globs safe to pass to `deleteGlob`.
 */
export declare function resolveSafeCleanPatterns(patterns: readonly string[], baseDir: string, rootDir: string): string[];
//# sourceMappingURL=cleanPatterns.d.ts.map