/*
 * Decompiled with CFR 0.152.
 */
package org.jivesoftware.smack.packet;

import java.util.Collection;
import java.util.List;
import java.util.Set;
import org.jivesoftware.smack.packet.ExtensionElement;
import org.jivesoftware.smack.packet.TopLevelStreamElement;
import org.jivesoftware.smack.packet.XMPPError;

@Deprecated
public interface Packet
extends TopLevelStreamElement {
    public static final String TEXT = "text";
    public static final String ITEM = "item";

    public String getStanzaId();

    @Deprecated
    public String getPacketID();

    public void setStanzaId(String var1);

    @Deprecated
    public void setPacketID(String var1);

    public String getTo();

    public void setTo(String var1);

    public String getFrom();

    public void setFrom(String var1);

    public XMPPError getError();

    public void setError(XMPPError var1);

    public String getLanguage();

    public void setLanguage(String var1);

    public List<ExtensionElement> getExtensions();

    public Set<ExtensionElement> getExtensions(String var1, String var2);

    public ExtensionElement getExtension(String var1);

    public <PE extends ExtensionElement> PE getExtension(String var1, String var2);

    public void addExtension(ExtensionElement var1);

    public void addExtensions(Collection<ExtensionElement> var1);

    public boolean hasExtension(String var1, String var2);

    public boolean hasExtension(String var1);

    public ExtensionElement removeExtension(String var1, String var2);

    public ExtensionElement removeExtension(ExtensionElement var1);

    public String toString();
}
