import type { Solution } from './plan.js'; import { Octokit } from '@octokit/rest'; type PublishOptions = { skipRepoSafetyCheck?: boolean; dryRun?: boolean; otp?: string; publishBranch?: string; tag?: string; access?: string; provenance?: boolean; githubPrerelease?: boolean; }; export declare class IssueReporter { hadIssues: boolean; reportFailure(message: string): void; } export declare function createGithubRelease(octokit: Octokit, description: string, tagName: string, reporter: IssueReporter, options: PublishOptions): Promise; /** * Call npm publish or pnpm publish on each of the packages in a plan * * @returns Promise return value only used for testing */ export declare function npmPublish(solution: Solution, reporter: IssueReporter, options: PublishOptions, packageManager: string): Promise; export declare function publish(opts: PublishOptions): Promise; export {};