import { NodeProject, NodeProjectOptions, NpmAccess } from "projen/lib/javascript"; import { PseudoComponent } from "../util/pseudo-component"; import { GitHubber } from "./git-hubber"; /** * NpmReleaser options */ export declare type NpmReleaserOptions = { name: string; scope?: string; access?: NpmAccess; release?: boolean; registryUrl?: string; releaseTag?: string; }; /** * The `NpmReleaser` pseudo-component add npm release data to * the project. */ export declare class NpmReleaser extends PseudoComponent { options: NpmReleaserOptions; /** * creates the npmReleaser pseudo-component * * @param options the organisation and contributors */ constructor(options: NpmReleaserOptions); /** * creates the npmReleaser pseudo-component * * @param gitHubber a GitHubber instance to base the NpmReleaser on * @param options additional NpmReleaser options and overrides */ constructor(gitHubber: GitHubber, options?: Partial); /** * returns the organisation related options that can then be passed into a NodeProject's constructor * * @returns the options */ nodeProjectOptions(): Pick; }