import { PDFObjectIndex } from '../pdf-document';
import { PDFDictionary, PDFIndirectObject, PDFObject, PDFStream } from '../pdf-objects';
declare class PDFObjectStream extends PDFStream {
    static create: (index: PDFObjectIndex, objects: PDFIndirectObject<PDFObject>[]) => PDFObjectStream;
    static from: (dictionary: PDFDictionary, objects: PDFIndirectObject<PDFObject>[]) => PDFObjectStream;
    objects: PDFIndirectObject[];
    objectByteSizes: number[];
    encodedContents: Uint8Array | void;
    constructor(dictionary: PDFDictionary, objects: PDFIndirectObject[]);
    encode: () => this;
    bytesSize: () => number;
    copyBytesInto: (buffer: Uint8Array) => Uint8Array;
    private copyContentBytesInto;
    private updateObjectByteSizes;
    private contentBytesSize;
    private leadingIntegerPairsStr;
    private leadingIntegerPairs;
    private objectByteOffsets;
    private updateDictionary;
}
export default PDFObjectStream;
