import { KafkaSourceInterface } from '@xip-online-data/kafka-base-service';
import { SftpInterface } from '@xip-online-data/sftp-client';
import { BaseConnectorConfig, FileActionType } from '@xip-online-data/types';
import { FileInfo } from 'ssh2-sftp-client';
import { FileSourceConfig, FileSourceProcessConfig } from '../types';
export declare class FilesourceProcessorService {
    #private;
    constructor(fileSourceConfig: FileSourceConfig, config: FileSourceProcessConfig & BaseConnectorConfig, kafkaService: KafkaSourceInterface, sftpClient: SftpInterface);
    init(): Promise<void>;
    stop(): void;
    process(): Promise<void>;
    private processDirectory;
    private processFile;
    handleAction(action: FileActionType, filePath: string, file: FileInfo, destinationPath: string): Promise<void>;
    private sendMetricsToKafka;
    private sendDocumentsToKafka;
    private buildPayload;
}
