<?php

namespace NoahVet\Reef\Domain\Http\Multipart;

interface HeaderParserInterface
{
    /**
     * @param resource $stream
     *
     * @return array{headers: array<string, string|string[]>, bodyOffset: int}
     */
    public function parse(mixed $stream): array;
}
