export function getHeaders(hs) {
    const headers = {};
    for (const [key, value] of Object.entries(hs)) {
        if (typeof value === 'string') {
            headers[key] = value;
        }
        else if (Array.isArray(value)) {
            headers[key] = value.join(', ');
        }
    }
    return headers;
}
//# sourceMappingURL=headers.js.map