import type { PDFRef } from '../core/pdf-ref.ts'; import type { PDFContext } from './pdf-context.ts'; export declare abstract class PDFResource { /** * A unique key that identifies the resource. */ abstract readonly key: string; /** * Registers the resource in the given PDF context. * This method is called during the serialization process. * @internal */ abstract register(context: PDFContext): PDFRef; }