import type { $PipelineJson } from '../../commands/_common/types/CommandParser';
import type { MarkdownSection } from '../../utils/markdown/parseMarkdownSection';
import type { PipelineString } from '../../pipeline/PipelineString';
/**
 * Parsed markdown structure split into the pipeline head and task sections.
 *
 * @private internal type of `parsePipeline`
 */
export type ParsedPipelineSections = {
    readonly pipelineHead: MarkdownSection;
    readonly pipelineSections: ReadonlyArray<MarkdownSection>;
};
/**
 * Splits the prepared markdown into the pipeline head and task sections.
 *
 * @private internal utility of `parsePipeline`
 */
export declare function parsePreparedPipelineSections(pipelineString: PipelineString, $pipelineJson: $PipelineJson): ParsedPipelineSections;
