import { Block as TextractBlock } from '@aws-sdk/client-textract';
export declare class TextractService {
    private readonly logger;
    private readonly textractClient;
    private readonly s3Client;
    constructor();
    private isValidS3Config;
    uploadToS3(localPath: string, bucket: string, key: string): Promise<void>;
    startTextDetection(bucket: string, key: string): Promise<string>;
    getAllPages(jobId: string): Promise<any[]>;
    private sleep;
    startDocumentAnalysis(bucket: string, key: string, featureTypes?: ('TABLES' | 'FORMS')[]): Promise<string>;
    getAllAnalysisBlocks(jobId: string): Promise<TextractBlock[]>;
    collatePageWiseTextFromBlocks(blocks: TextractBlock[]): Record<string, string>;
    analyzePdfInS3ToPageWiseText(bucket: string, key: string): Promise<Record<string, string>>;
}
//# sourceMappingURL=textract.service.d.ts.map