import path from "path";
import {
  normalizeWatermarkSettings,
  type WatermarkSettings,
} from "./watermark";

/** Preserve the user's optional watermark choice without tier-based forcing. */
export function applyBrandWatermarkPolicy(
  input: Partial<WatermarkSettings> | null | undefined,
  includeWatermarkFallback: boolean,
): WatermarkSettings {
  return normalizeWatermarkSettings(input, includeWatermarkFallback);
}

export const WATERMARK_FILE_PATH = path.join(process.cwd(), "assets", "watermark.png");
