import { JsiiProjectOptions } from "projen/lib/cdk"; import { NodeProject, NodeProjectOptions } from "projen/lib/javascript"; import { PseudoComponent } from "../util/pseudo-component"; /** * GitHubber options */ export declare type GitHubberOptions = { /** * The name of the project. */ name: string; /** * The github name of the user or organisation this project belongs to */ username: string; /** * The homepage of the project. Defaults to the GitHub project page. */ homepage?: string; }; /** * The `GitHubber` pseudo-component add organisation based author data to * and contributors the project. */ export declare class GitHubber extends PseudoComponent { options: Required; /** * creates the gitHubber pseudo-component * * @param options the organisation and contributors */ constructor(options: GitHubberOptions); /** * Called before synthesis. * * @param _project the project to apply to */ preSynthesize(_project: NodeProject): void; /** * returns the organisation related options that can then be passed into a NodeProject's constructor * * @returns the options */ nodeProjectOptions(): Required>; /** * returns the organisation related options that can then be passed into a NodeProject's constructor * * @returns the options */ jsiiProjectOptions(): Required>; }