//#region src/buildkite/annotate.d.ts type AnnotationStyle = 'success' | 'info' | 'warning' | 'error'; interface AnnotationOptions { context?: string; /** * Scopes an annotation's context to the Buildkite step ID. * * This lets you emit distinct annotations per step, and only takes effect if * the `BUILDKITE_STEP_ID` environment variable is present. */ scopeContextToStep?: boolean; style?: AnnotationStyle; } /** * Asynchronously uploads a Buildkite annotation. * * If the following environment variables are not present, * the function will silently return without attempting to annotate: * * - `BUILDKITE` * - `BUILDKITE_AGENT_ACCESS_TOKEN` * - `BUILDKITE_JOB_ID` * * The `buildkite-agent` binary must also be on your `PATH`. */ declare const annotate: (markdown: string, opts?: AnnotationOptions) => Promise; //#endregion //#region src/buildkite/md.d.ts /** * @internal */ declare const md: { terminal: (code: string) => string; }; declare namespace index_d_exports { export { AnnotationStyle, annotate, md }; } //#endregion export { annotate as i, md as n, AnnotationStyle as r, index_d_exports as t };