package io.netty.handler.codec.http2;

/* JADX INFO: loaded from: classes.dex */
public interface StreamByteDistributor {

    public interface StreamState {
        boolean hasFrame();

        long pendingBytes();

        Http2Stream stream();

        int windowSize();
    }

    public interface Writer {
        void write(Http2Stream http2Stream, int i2);
    }

    boolean distribute(int i2, Writer writer);

    void updateDependencyTree(int i2, int i3, short s2, boolean z2);

    void updateStreamableBytes(StreamState streamState);
}
