export type GitHubPackagePublishMode = "pr" | "main" | "release"; export interface PackageLifecycleIO { stdout(text: string): void; stderr(text: string): void; } export interface PackageLifecycleOptions { cwd: string; packagePath: string; registry?: string; namespace?: string; comment?: boolean; env: NodeJS.ProcessEnv; io: PackageLifecycleIO; } export interface ReleaseDescriptionSyncOptions extends PackageLifecycleOptions { check?: boolean; evidenceDir?: string; } export declare function publishGitHubPackage(): never; export declare function publishNpmPackage(): never; export declare function ensureGitHubRelease(): never; export declare function runReleaseDoctor(): never; export declare function syncGitHubReleaseDescriptions(options: ReleaseDescriptionSyncOptions): Promise; export declare function runLifecycleCli(_action: () => Promise, io: PackageLifecycleIO): Promise;