/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import type { StateHandlerFunction } from "./stateHandlers.js"; /** * Prompt the user to queue a release build. * * @param state - The current state machine state. * @param machine - The state machine. * @param testMode - Set to true to run function in test mode. * @param log - A logger that the function can use for logging. * @param data - An object with handler-specific contextual data. * @returns True if the state was handled; false otherwise. */ export declare const promptToCommitChanges: StateHandlerFunction; /** * Prompt the user to create a release branch. * * @param state - The current state machine state. * @param machine - The state machine. * @param testMode - Set to true to run function in test mode. * @param log - A logger that the function can use for logging. * @param data - An object with handler-specific contextual data. * @returns True if the state was handled; false otherwise. */ export declare const promptToCreateReleaseBranch: StateHandlerFunction; /** * Prompt the user to queue a release build. * * @param state - The current state machine state. * @param machine - The state machine. * @param testMode - Set to true to run function in test mode. * @param log - A logger that the function can use for logging. * @param data - An object with handler-specific contextual data. * @returns True if the state was handled; false otherwise. */ export declare const promptToIntegrateNext: StateHandlerFunction; /** * Prompt the user to open a PR with a release group/package bump. * * @param state - The current state machine state. * @param machine - The state machine. * @param testMode - Set to true to run function in test mode. * @param log - A logger that the function can use for logging. * @param data - An object with handler-specific contextual data. * @returns True if the state was handled; false otherwise. */ export declare const promptToPRBump: StateHandlerFunction; /** * Prompt the user to open a PR with dependency updates. * * @param state - The current state machine state. * @param machine - The state machine. * @param testMode - Set to true to run function in test mode. * @param log - A logger that the function can use for logging. * @param data - An object with handler-specific contextual data. * @returns True if the state was handled; false otherwise. */ export declare const promptToPRDeps: StateHandlerFunction; /** * Prompt the user to queue a release build. * * @param state - The current state machine state. * @param machine - The state machine. * @param testMode - Set to true to run function in test mode. * @param log - A logger that the function can use for logging. * @param data - An object with handler-specific contextual data. * @returns True if the state was handled; false otherwise. */ export declare const promptToRelease: StateHandlerFunction; /** * Prompt the user to queue a release build. * * @param state - The current state machine state. * @param machine - The state machine. * @param testMode - Set to true to run function in test mode. * @param log - A logger that the function can use for logging. * @param data - An object with handler-specific contextual data. * @returns True if the state was handled; false otherwise. */ export declare const promptToReleaseDeps: StateHandlerFunction; /** * Prompt the user to run a minor release of the release group. This is typically used when doing major releases, * because a minor release is a subset of the major release process. * * @param state - The current state machine state. * @param machine - The state machine. * @param testMode - Set to true to run function in test mode. * @param log - A logger that the function can use for logging. * @param data - An object with handler-specific contextual data. * @returns True if the state was handled; false otherwise. */ export declare const promptToRunMinorReleaseCommand: StateHandlerFunction; /** * Prompt the user to run type test preparation and generation. * * @param state - The current state machine state. * @param machine - The state machine. * @param testMode - Set to true to run function in test mode. * @param log - A logger that the function can use for logging. * @param data - An object with handler-specific contextual data. * @returns True if the state was handled; false otherwise. */ export declare const promptToRunTypeTests: StateHandlerFunction; /** * Prompt the user to generate release notes. * * @param state - The current state machine state. * @param machine - The state machine. * @param testMode - Set to true to run function in test mode. * @param log - A logger that the function can use for logging. * @param data - An object with handler-specific contextual data. * @returns True if the state was handled; false otherwise. */ export declare const promptToGenerateReleaseNotes: StateHandlerFunction; /** * Prompt the user to generate release notes. * * @param state - The current state machine state. * @param machine - The state machine. * @param testMode - Set to true to run function in test mode. * @param log - A logger that the function can use for logging. * @param data - An object with handler-specific contextual data. * @returns True if the state was handled; false otherwise. */ export declare const promptToGenerateChangelogs: StateHandlerFunction; //# sourceMappingURL=promptFunctions.d.ts.map