import type { TaskJson } from '../../pipeline/PipelineJson/TaskJson';
/**
 * Code fence language used when stringifying a pipeline task.
 *
 * @private internal type of `createTaskSerialization`
 */
type PipelineTaskContentLanguage = 'markdown' | 'text' | 'javascript' | 'typescript' | 'python' | '';
/**
 * All derived serialization details needed to render one task section.
 *
 * @private internal type of `createTaskSerialization`
 */
type TaskSerialization = {
    readonly commands: Array<string>;
    readonly contentLanguage: PipelineTaskContentLanguage;
};
/**
 * Collects all task-specific serialization details.
 *
 * @private internal utility of `pipelineJsonToString`
 */
export declare function createTaskSerialization(task: TaskJson): TaskSerialization;
export {};
