// Note: If you change this logic, also update the internal helper export function calculateWriterContentGenerationPrice(pages: number, pricePerPage: number): number { return Math.max(1, pages * pricePerPage); }