<?php

declare(strict_types=1);

namespace AC;

use AC\Exception\ValueNotFoundException;
use AC\Type\Value;
use AC\Type\ValueCollection;

interface Formatter
{

    /**
     * @return Value|ValueCollection
     * @throws ValueNotFoundException
     */
    public function format(Value $value);

}