import { Component } from "projen"; import { NodeProject } from "projen/lib/javascript"; import "shelljs-plugin-authors"; import { DeepRequired } from "../util/deep-required"; import { Dynamic } from "../util/dynamic"; import { Entity } from "./organisational"; /** * Contributors options */ export declare type ContributorsOptions = { contributors?: boolean; autoPopulateFromGit?: boolean; additionalContributors?: (string | Entity)[]; }; /** * The `Contributors` component adds contributor information to the project */ export declare class Contributors extends Component { static defaultOptions: DeepRequired; contributors: Set; options: DeepRequired; nodeProject: NodeProject; /** * creates the contributors component * * @param project the project to add to * @param options options */ constructor(project: NodeProject, options?: Dynamic); /** * adds the contributors to the package.json file. */ preSynthesize(): void; /** * adds contributors to the project * * @param {...any} contributors the contributors to add */ addContributors(...contributors: (string | Entity)[]): void; }