export declare type Label = { name: string; }; export declare class LabelManager { protected items: Label[]; /** * array containing the labels * @protected */ protected labels: string[]; /** * internal change tracker to decide on API calls later * @protected */ protected changed: boolean; constructor(items: Label[]); /** * add a label to the array in memory. Use octokit.issues.setLabels() to save * @param label */ addLabel(label: string): void; /** * removes a label from the array in memory. Use octokit.issues.setLabels() to save * @param label */ removeLabel(label: string): void; /** * checks if a label is assigned from a given list (i.e. checking allow/deny lists) * @param allowDenyList */ hasLabelFromList(allowDenyList: string[]): boolean; private static getIssueLabelArray; } //# sourceMappingURL=labels.d.ts.map