import { OffsetStore, PersistentOffsetStoreInterface } from '@transai/connector-runtime';
import { QueryResult } from '@xip-online-data/datasource';
import { BaseConnectorConfig } from '@xip-online-data/types';
import { KafkaService } from './kafka/kafka.service';
import { SourceConfig, SqlSourceRunnerConfig } from './types';
export declare class QueryResultHandler {
    #private;
    constructor(config: SqlSourceRunnerConfig & BaseConnectorConfig, kafkaService: KafkaService, offsetStore: PersistentOffsetStoreInterface);
    handleResult(result: QueryResult, queryConfig: SourceConfig, previousOffset?: OffsetStore, priority?: boolean): Promise<boolean>;
    storeTimestamp: (timestamp: OffsetStore, queryConfig: SourceConfig) => void;
    getTimestamp: (record: Record<string, unknown>, queryConfig: SourceConfig) => OffsetStore;
    getOptionalRecordField: (record: any, fieldName: string) => any;
}
