2022-10-17 18:03:20 +08:00
|
|
|
import { AnnotationProperties } from './core';
|
|
|
|
import { CommandProperties } from './command';
|
2021-04-10 08:16:12 +08:00
|
|
|
/**
|
|
|
|
* Sanitizes an input into a string so it can be passed into issueCommand safely
|
|
|
|
* @param input input to sanitize into a string
|
|
|
|
*/
|
|
|
|
export declare function toCommandValue(input: any): string;
|
2022-10-17 18:03:20 +08:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @param annotationProperties
|
|
|
|
* @returns The command properties to send with the actual annotation command
|
|
|
|
* See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646
|
|
|
|
*/
|
|
|
|
export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties;
|