export declare type Header = Array < { key : string ; value : string ; } > ; export function getValueFromHeader ( header , key ) { const result = [ ] ; if ( ! header || ! key ) { return result ; } header . forEach ( ( object ) => { if ( object . key === key ) { result . push ( object . value ) ; } } ) ; return result ; }