import { AuthorInformation, RepoInformation, GithubInformation, LogOptions, ReleaseCalculationOptions, AutoRc } from "./types"; export declare type ICreateLabelsOptions = DryRunOption; export interface ILabelOptions { /** PR to get the labels for */ pr?: number; /** Label to check for */ exists?: string; } export interface IPRCheckOptions extends DryRunOption { /** PR to check the label for */ pr?: number; /** URL to attach to the checkmark */ url?: string; /** The context the check should be attached to */ context?: string; } export interface IPRStatusOptions extends DryRunOption { /** The commit to attach a check to */ sha?: string; /** The pr to attach a check to */ pr?: number; /** URL to attach to the checkmark */ url: string; /** The state to set the checkmark to */ state: "pending" | "success" | "error" | "failure"; /** The description to attach to the checkmark */ description: string; /** The context the check should be attached to */ context: string; } export declare type IVersionOptions = ReleaseCalculationOptions & { /** Commit to start calculating the version from */ from?: string; }; export interface QuietOption { /** Print **only** the result of the command */ quiet?: boolean; } declare type NoVersionPrefix = Pick; export interface DryRunOption { /** Do not actually do anything */ dryRun?: boolean; } export interface NoGitCommit { /** Do not commit the changes */ noGitCommit?: boolean; } interface ChangelogTitle { /** Override the title use in the addition to the CHANGELOG.md. */ title?: string; } declare type BaseBranch = Pick; export declare type IChangelogOptions = BaseBranch & ChangelogTitle & NonNullable & QuietOption & DryRunOption & NoVersionPrefix & NoGitCommit & Partial & { /** Commit to start calculating the changelog from */ from?: string; /** Commit to start calculating the changelog to */ to?: string; /** Do not make any changes to changelog file */ noChanges?: boolean; /** Override the version to release */ useVersion?: string; }; export declare type IReleaseOptions = BaseBranch & NonNullable & DryRunOption & NoVersionPrefix & Partial & Partial & { /** Commit to start calculating the release from */ from?: string; /** Commit to calculate the release to */ to?: string; /** Override the version to release */ useVersion?: string; }; export declare type ICommentOptions = DryRunOption & NonNullable & { /** The message to use when commenting */ message?: string; /** THe PR to comment on */ pr?: number; /** The context the message should be attached to. Use to post multiple comments to a PR */ context?: string; }; export declare type IPRBodyOptions = Omit; export declare type ILatestOptions = BaseBranch & DryRunOption & NonNullable & NoVersionPrefix & ChangelogTitle & QuietOption & ReleaseCalculationOptions & Partial & Partial & { /** Commit to start calculating the release from */ from?: string; /** Override the version to release */ useVersion?: string; }; export declare type IShipItOptions = ILatestOptions & NonNullable; export declare type ICanaryOptions = QuietOption & NonNullable & DryRunOption & { /** THe PR to attach the canary to */ pr?: number; /** The build to attach the canary to */ build?: number; }; export declare type INextOptions = QuietOption & NonNullable & DryRunOption; export interface IInfoOptions { /** List some of the available plugins */ listPlugins?: boolean; } export declare type GlobalOptions = Pick & Partial & LogOptions; export declare type ApiOptions = GlobalOptions & (ILatestOptions | IInfoOptions | ICreateLabelsOptions | ILabelOptions | IPRCheckOptions | IPRStatusOptions | ICommentOptions | IChangelogOptions | IPRBodyOptions | IReleaseOptions | IVersionOptions | ICanaryOptions | IShipItOptions); export {}; //# sourceMappingURL=auto-args.d.ts.map