import { Context, Octokit } from "probot";
export declare function hash(chunk: string[]): string;
export declare function withPreview<T>(arg: T): T;
export declare function logCtx(context: Context, params: any): any;
export declare function canWrite(gh: Octokit, { owner, repo, username }: {
    owner: string;
    repo: string;
    username: string;
}): Promise<boolean>;
