UNPKG

866 BTypeScriptView Raw
1import { Context } from 'probot';
2import { Annotation, CheckConclusion } from './types';
3import { Logger } from './logger';
4export declare function start({ context, owner, repo, sha, logger, }: {
5 sha: string;
6 context: Context;
7 owner: string;
8 repo: string;
9 logger: Logger;
10}): Promise<number>;
11export declare function annotate({ context, owner, repo, checkRunId, annotations, title, summary, logger, }: {
12 owner: string;
13 repo: string;
14 checkRunId: number;
15 annotations: Annotation[];
16 context: Context;
17 title: string;
18 summary: string;
19 logger: Logger;
20}): Promise<void>;
21export declare function complete({ context, owner, repo, checkRunId, conclusion, logger, }: {
22 owner: string;
23 repo: string;
24 checkRunId: number;
25 context: Context;
26 conclusion: CheckConclusion;
27 logger: Logger;
28}): Promise<void>;