import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
import type { Prompt } from '../../types/Prompt';
import type { string_pipeline_url } from '../../types/string_pipeline_url';
import type { PipelineCollection } from './PipelineCollection';
/**
 * Library of pipelines that groups together pipelines for an application.
 * This implementation is a very thin wrapper around the Array / Map of pipelines.
 *
 * @see https://github.com/webgptorg/pipeline#pipeline-collection
 *
 * @private internal function of `createPipelineCollectionFromJson`, use `createPipelineCollectionFromJson` instead
 */
export declare class SimplePipelineCollection implements PipelineCollection {
    private collection;
    /**
     * Constructs a pipeline collection from pipelines
     *
     * @param pipelines Array of pipeline JSON objects to include in the collection
     *
     * Note: During the construction logic of all pipelines are validated
     * Note: It is not recommended to use this constructor directly, use `createPipelineCollectionFromJson` *(or other variant)* instead
     */
    constructor(...pipelines: ReadonlyArray<PipelineJson>);
    /**
     * Gets all pipelines in the collection
     */
    listPipelines(): ReadonlyArray<string_pipeline_url>;
    /**
     * Gets pipeline by its URL
     *
     * Note: This is not a direct fetching from the URL, but a lookup in the collection
     */
    getPipelineByUrl(url: string_pipeline_url): PipelineJson;
    /**
     * Checks whether given prompt was defined in any pipeline in the collection
     */
    isResponsibleForPrompt(prompt: Prompt): boolean;
}
