import { PCExporter } from './../../model/exporters/Exporter'; import { PCExporterSource } from '../../model/sources/ExporterSource'; export declare class PCPulsarSourceManager { private exporter; constructor(exporter: PCExporter); /** Get all sources associated with loaded exporter. Note that sources don't contain their code definitions, as those need to be requested separaterly */ getSources(): Array; /** Get specific source associated with loaded exporter */ getSourceById(sourceId: string): PCExporterSource; /** Create new source for loaded exporter. Source comes with default name and code and uses generic context */ createNewSource(): PCExporterSource; /** Delete specified source. Throws error when source is not found */ deleteSourceById(sourceId: string): void; /** Update source id. Id must be non-empty and contain at least 3 characters. It must also be unique in scope. Note that this also updates all maps that are referencing this source */ updateSourceLocation(oldSourceId: string, newSourceId: string, newPath: string): PCExporterSource; }