import * as Octokit from '@octokit/rest'; import { GithubLabel, GithubRepository } from '../../github'; /** * * Create new labels in a repository. * * @param github * @param labels * @param repository */ export declare function addLabelsToRepository(github: Octokit, labels: GithubLabel[], repository: GithubRepository): Promise; /** * * Updates labels in repository. * * @param github * @param labels * @param repository */ export declare function updateLabelsInRepository(github: Octokit, labels: GithubLabel[], repository: GithubRepository): Promise; /** * * Removes labels from repository. * * @param github * @param labels * @param repository */ export declare function removeLabelsFromRepository(github: Octokit, labels: GithubLabel[], repository: GithubRepository): Promise; /** * * Calculates the diff of labels. * * @param currentLabels * @param newLabels */ export declare function getLabelsDiff(currentLabels: GithubLabel[], newLabels: GithubLabel[]): { add: GithubLabel[]; update: GithubLabel[]; remove: GithubLabel[]; };