import { Entity } from '@backstage/catalog-model';
import { Logger } from 'winston';
import { CatalogProcessor, CatalogProcessorResult, DeferredEntity, EntityRelationSpec } from '@backstage/plugin-catalog-node';
import { RefreshKeyData } from './types';
/**
 * Helper class for aggregating all of the emitted data from processors.
 */
export declare class ProcessorOutputCollector {
    private readonly logger;
    private readonly parentEntity;
    private readonly errors;
    private readonly relations;
    private readonly deferredEntities;
    private readonly refreshKeys;
    private done;
    constructor(logger: Logger, parentEntity: Entity);
    generic(): (i: CatalogProcessorResult) => void;
    forProcessor(processor: CatalogProcessor): (i: CatalogProcessorResult) => void;
    results(): {
        errors: Error[];
        relations: EntityRelationSpec[];
        refreshKeys: RefreshKeyData[];
        deferredEntities: DeferredEntity[];
    };
    private receive;
}
