UNPKG

641 BTypeScriptView Raw
1import { AnnotationProperties } from './core';
2import { CommandProperties } from './command';
3/**
4 * Sanitizes an input into a string so it can be passed into issueCommand safely
5 * @param input input to sanitize into a string
6 */
7export declare function toCommandValue(input: any): string;
8/**
9 *
10 * @param annotationProperties
11 * @returns The command properties to send with the actual annotation command
12 * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646
13 */
14export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties;