import type { ReleaseItem } from "@tallyrelease/core"; /** * Per-unit changelog sections and per-item maintenance notes, cut to whole * blocks under the limit, then the marker. */ export declare const prBody: ({ items, sections, notes, }: { items: readonly ReleaseItem[]; sections: ReadonlyMap; notes: ReadonlyMap; }, marker: string) => string; /** Release PR title: the branch for the shared PR, else its items. */ export declare const prTitle: (leaf: string, branch: string, items: readonly ReleaseItem[]) => string; /** Release PR note on cutting the maintenance branch of the line a new major leaves. */ export declare const maintenanceNote: (name: string, cut: { line: string; tag: string; branch: string; }, remote: string) => string; /** Comment on a release PR closed as not pending. */ export declare const closeComment: (base: string) => string; /** Output lines of `pr`; a dry run words them as intents. */ export declare const prLines: (dryRun: boolean | undefined) => { created: (number: number, branch: string, title: string) => string; wouldCreate: (branch: string, title: string) => string; upToDate: (number: number, branch: string) => string; updated: (number: number, branch: string, title: string) => string; closed: (number: number, branch: string) => string; commitAs: ({ name, email }: { name: string; email: string; }) => string; wouldPush: (branch: string, remote: string) => string; }; /** Output of `pr`. */ export declare const prText: (lines: readonly string[]) => string;