/** * @typedef {import('../wordpress').WPEnvironment} WPEnvironment * @typedef {import('../wordpress').WPEnvironmentSelection} WPEnvironmentSelection */ /** * Wipes the development server's database, the tests server's database, or both. * * @param {Object} options * @param {WPEnvironmentSelection} options.environment The environment to clean. Either 'development', 'tests', or 'all'. * @param {Object} options.spinner A CLI spinner which indicates progress. * @param {boolean} options.scripts Indicates whether or not lifecycle scripts should be executed. * @param {boolean} options.debug True if debug mode is enabled. */ export default function clean({ environment, spinner, scripts, debug, }: { environment: WPEnvironmentSelection; spinner: Object; scripts: boolean; debug: boolean; }): Promise; export type WPEnvironment = import("../wordpress").WPEnvironment; export type WPEnvironmentSelection = import("../wordpress").WPEnvironmentSelection;