import { HandlerContext, HandlerError, HandlerResult, MessageOptions } from "@atomist/automation-client"; import * as GitHubApi from "@octokit/rest"; export declare const DefaultGitHubApiUrl = "https://api.github.com/"; export declare const DefaultGitHubUrl = "https://github.com/"; export declare const DefaultGitHubProviderId = "zjlmxjzwhurspem"; export declare function api(token: string, apiUrl?: string): GitHubApi; export declare function handleError(title: string, err: any, ctx: HandlerContext, options?: MessageOptions): Promise | HandlerError;