import { type ExitSummaryInput } from "../rendering/exit-summary.js"; import type { AppServices } from "./composition-root.js"; export interface ExitEpilogueOptions { readonly services: AppServices; readonly startedAt: number; readonly write: (text: string) => void | Promise; readonly enabled?: boolean | undefined; readonly now?: (() => number) | undefined; readonly cwd?: (() => string) | undefined; readonly columns?: (() => number | undefined) | undefined; } export interface ExitEpilogue { readonly capture: () => void; readonly run: () => void | Promise; } export declare function buildExitSummaryInput(options: ExitEpilogueOptions): ExitSummaryInput; export declare function createExitEpilogue(options: ExitEpilogueOptions): ExitEpilogue;