import { Position } from "pdf-lib/src/core/errors";
import PDFArray from "pdf-lib/src/core/objects/PDFArray";
import PDFDict from "pdf-lib/src/core/objects/PDFDict";
import PDFHexString from "pdf-lib/src/core/objects/PDFHexString";
import PDFName from "pdf-lib/src/core/objects/PDFName";
import PDFNumber from "pdf-lib/src/core/objects/PDFNumber";
import PDFObject from "pdf-lib/src/core/objects/PDFObject";
import PDFRef from "pdf-lib/src/core/objects/PDFRef";
import PDFStream from "pdf-lib/src/core/objects/PDFStream";
import PDFString from "pdf-lib/src/core/objects/PDFString";
import BaseParser from "pdf-lib/src/core/parser/BaseParser";
import ByteStream from "pdf-lib/src/core/parser/ByteStream";
import PDFContext from "pdf-lib/src/core/PDFContext";
declare class PDFObjectParser extends BaseParser {
    static forBytes: (bytes: Uint8Array, context: PDFContext, capNumbers?: boolean | undefined) => PDFObjectParser;
    static forByteStream: (byteStream: ByteStream, context: PDFContext, capNumbers?: boolean) => PDFObjectParser;
    protected readonly context: PDFContext;
    constructor(byteStream: ByteStream, context: PDFContext, capNumbers?: boolean);
    parseObject(): PDFObject;
    protected parseNumberOrRef(): PDFNumber | PDFRef;
    protected parseHexString(): PDFHexString;
    protected parseString(): PDFString;
    protected parseName(): PDFName;
    protected parseArray(): PDFArray;
    protected parseDict(): PDFDict;
    protected parseDictOrStream(): PDFDict | PDFStream;
    protected findEndOfStreamFallback(startPos: Position): number;
}
export default PDFObjectParser;
//# sourceMappingURL=PDFObjectParser.d.ts.map