import type { PlanFlags } from "./setup.js"; import type { BuildBase } from "../ci/base.js"; import type { ReleaseEntry } from "../plan-schema.js"; import type { Session } from "../session.js"; import type { AffectedDoc, Plan } from "@tallyrelease/core"; /** `--out` resolved against the working directory. */ export declare const outPath: (session: Session, out: string | undefined) => string | undefined; /** Pretty-printed JSON document with a trailing newline. */ export declare const toJson: (doc: unknown) => string; /** Writes the affected `doc` to `--out` and the step outputs. */ export declare const writeAffected: (session: Session, doc: AffectedDoc, flags: { out?: string; githubOutput?: boolean; }) => void; /** Writes `doc` to `--out`, the step outputs, the step summary and stdout. */ export declare const writePlan: (session: Session, { doc, base, releases, }: { doc: Plan; base: BuildBase; releases?: readonly ReleaseEntry[]; }, flags: Pick) => void;