import { FileBase, FileBaseOptions, Project } from "projen"; /** * options for CodeOfConduct */ export interface CodeOfConductOptions extends FileBaseOptions { /** * You must provide a contact method so that people know how to report violations. */ readonly contactMethod: string; } /** * adds codeOfConduct to the project, which manages the CODE_OF_CONDUCT.md file */ export declare class CodeOfConduct extends FileBase { text: string; /** * adds codeOfConduct to the project * * @param project the project to add to * @param options - see `CodeOfConductOptions` */ constructor(project: Project, options: CodeOfConductOptions); /** * Called before synthesis. */ preSynthesize(): void; /** * Returns the contents of the file to emit. * * @returns the content to synthesize or undefined to skip the file */ protected synthesizeContent(): string | undefined; }