import type { getOctokit } from '@actions/github'; import { type Project, type ReleaserOptions, type ReleaserSetUserOptions, Releaser } from '@simple-release/core'; import { GithubHosting } from '@simple-release/github'; export interface ReleaserGithubActionOptions

extends Omit, 'hosting'> { /** * The Octokit instance to use for making GitHub API calls. */ octokit: ReturnType; } export declare class ReleaserGithubAction

extends Releaser { hosting: GithubHosting; constructor(options: ReleaserGithubActionOptions

); setUser(options?: ReleaserSetUserOptions): this; checkout(branch?: string): this; /** * Fetches options from the pull request comments. * @returns Project releaser instance for chaining. */ fetchOptions(): this; /** * Apply preambles collected from pull request comments as bump options. * A global preamble becomes `bump.preamble`; per-package preambles are merged * into `bump.byProject[name].preamble` (keyed by full package name), * preserving any existing `byProject` entries. * @param preamble - The global preamble, if any. * @param preambleByName - Preambles keyed by full package name. */ private applyPreamble; /** * Fetch all commits and tags from the remote repository. * @returns Project releaser instance for chaining. */ fetch(): this; tag(): this; push(): this; /** * Run all steps to create a pull request. */ runPullRequestAction(): Promise; /** * Run all steps to release a new version. * @param check - Whether to check if the commit is a release commit. */ runReleaseAction(check?: boolean): Promise; /** * Run all steps to publish a snapshot version. * @param snapshotTag - NPM tag and snapshot pre-release identifier. */ runSnapshotAction(snapshotTag: string): Promise; /** * Run action based on the context. */ runAction(): Promise; } //# sourceMappingURL=releaser.d.ts.map