import { IPdfWrapper, IPdfPrimitive } from '../../interfaces'; import { PdfPage } from '../pages'; import { PdfArray } from '../primitives'; import { PdfAnnotation } from './annotation'; import { DictionaryProperties } from '../input-output'; /** * `PdfAnnotationCollection` class represents the collection of 'PdfAnnotation' objects. * @private */ export declare class PdfAnnotationCollection implements IPdfWrapper { /** * `Error` constant message. * @private */ private alreadyExistsAnnotationError; /** * `Error` constant message. * @private */ private missingAnnotationException; /** * Specifies the Internal variable to store fields of `PdfDictionaryProperties`. * @private */ protected dictionaryProperties: DictionaryProperties; /** * Parent `page` of the collection. * @private */ private page; /** * Array of the `annotations`. * @private */ private internalAnnotations; /** * privte `list` for the annotations. * @private */ lists: PdfAnnotation[]; /** * Gets the `PdfAnnotation` object at the specified index. Read-Only. * @private */ get annotations(): PdfArray; set annotations(value: PdfArray); /** * Initializes a new instance of the `PdfAnnotationCollection` class. * @private */ constructor(); /** * Initializes a new instance of the `PdfAnnotationCollection` class with the specified page. * @private */ constructor(page: PdfPage); /** * `Adds` a new annotation to the collection. * @private */ add(annotation: PdfAnnotation): void | number; /** * `Adds` a Annotation to collection. * @private */ protected doAdd(annotation: PdfAnnotation): void | number; /** * `Set a color of an annotation`. * @private */ private setColor; /** * Gets the `Element` representing this object. * @private */ get element(): IPdfPrimitive; }