import SDPCandidateType from './SDPCandidateType' ; /**
 * [[SDP]] manages and helps munge an SDP during negotiation.
 */ export default interface SDP { /**
     * Clones an SDP
     */ clone ( ) : SDP ; /**
     * Splits SDP string into lines
     */ lines ( ) : string [ ] ; /**
     * Checks whether the SDP has candidates for any m-line
     */ hasCandidates ( ) : boolean ; /**
     * Checks whether the SDP has candidates for all m-lines
     */ hasCandidatesForAllMLines ( ) : boolean ; /**
     * Replaces group attribute `a=group:` line with `a=group:BUNDLE audio video`
     */ withBundleAudioVideo ( ) : SDP ; /**
     * Copies video sections from other SDP to this SDP
     */ copyVideo ( otherSDP ) : SDP ; /**
     * Removes candidates of a given type from SDP
     */ withoutCandidateType ( candidateTypeToExclude ) : SDP ; /**
     * Removes server reflexive candidate from SDP
     */ withoutServerReflexiveCandidates ( ) : SDP ; /**
     * Inserts a parameter to the SDP local offer setting the desired average audio bitrate
     */ withAudioMaxAverageBitrate ( maxAverageBitrate ) : SDP ; /**
     * Deprecated: `RTCRtpSender.setParameters` has supported setting bitrates for a while and
     * we no longer use this function in other areas of the SDK. Should remove when possible.
     *
     * Inserts a bandwidth limitation attribute to answer SDP for setRemoteDescription and limiting client outbound maximum bitrate
     */ withBandwidthRestriction ( maxBitrateKbps , isFirefox ) : SDP ; /**
     * Munges Unified-Plan SDP from different browsers to conform to one format
     */ withUnifiedPlanFormat ( ) : SDP ; /**
     * Extracts the ssrc for the sendrecv video media section in SDP
     */ ssrcForVideoSendingSection ( ) : string ; /**
     * Returns whether the sendrecv video sections if exist have two different SSRCs in SDPs
     */ videoSendSectionHasDifferentSSRC ( previousSdp ) : boolean ; /**
     * Sorts the codec preferences in video section.
     */ preferH264IfExists ( ) : SDP ; /**
     * Removes H.264 from the send section.
     */ removeH264SupportFromSendSection ( ) : SDP ; }