/** * Phase 189 — CONTRIBUTING.md scaffold. `cadence init` writes a * CONTRIBUTING.md at the repo root with a managed region delimited by these * markers, pointing the next teammate who clones the repo (with `.cadence/` * already committed) at `cadence onboard` for per-machine setup instead of * `cadence init` (which refuses once `.cadence/` exists). A CONTRIBUTING.md * with no markers is treated as fully user-owned and left untouched — same * merge contract as `claude-md-template.ts`, deliberately duplicated below * (not imported) because it targets a different file with different * content and no shared `--contributing-md` regeneration flag. */ export declare const MANAGED_START = ""; export declare const MANAGED_END = ""; export interface ContributingMdOptions { projectName: string; } /** The managed block (markers inclusive). */ export declare function renderManagedBlock(opts: ContributingMdOptions): string; /** Full default file when no CONTRIBUTING.md exists yet. */ export declare function renderContributingMd(opts: ContributingMdOptions): string; export type MergeMode = 'created' | 'regenerated' | 'preserved'; export interface MergeResult { content: string; mode: MergeMode; } /** * Merge a fresh managed block into an existing CONTRIBUTING.md. * * - no existing file (empty/whitespace) → full render (`created`) * - both markers present → replace the inclusive span, keep prefix/suffix * byte-for-byte (`regenerated`) * - content present but markers absent → return unchanged (`preserved`) */ export declare function mergeManagedBlock(existing: string | null, opts: ContributingMdOptions): MergeResult; /** * Merge the managed onboarding block into `/CONTRIBUTING.md`, creating * the file if absent. Mirrors `writeClaudeMd`/`writeAgentsMd` in `init.ts`, * but — unlike those — owns its own read/write since it has no standalone * `--contributing-md` regeneration flag to share the merge helper with. */ export declare function writeContributingMd(cwd: string, opts: ContributingMdOptions): Promise; //# sourceMappingURL=contributing-md-template.d.ts.map