<?php

declare(strict_types=1);

namespace ContextPaging;

/**
 * Interface for message summarization.
 */
interface SummarizerInterface
{
    /**
     * Generate a concise summary of the given content.
     *
     * @param string $content The content to summarize
     * @param array $context Optional context (e.g., conversation role, surrounding messages)
     * @return string The summary
     */
    public function summarize(string $content, array $context = []): string;
}
