import type { DocumentProperties } from '../inspect/shared.js';
import type { DocRiskFlags, DocContentStats, ContentPreview } from './types.js';
/**
 * A PDF is encrypted when its trailer references an encryption dictionary as an
 * indirect object (e.g. `/Encrypt 12 0 R`). AcroForm presence is unrelated to
 * encryption and must not drive this flag.
 */
export declare function isPdfEncrypted(buffer: Buffer, info: Record<string, unknown>): boolean;
export declare function inspectPdf(filePath: string, buffer: Buffer, sampleParagraphs: number): Promise<{
    properties: DocumentProperties;
    riskFlags: DocRiskFlags;
    contentStats: DocContentStats;
    preview: ContentPreview;
}>;
