import type { StepHandler } from '.'; /** * @inheritDoc setSiteOptions * @hasRunnableExample * * @example * * * { * "step": "setSiteOptions", * "options": { * "blogname": "My Blog", * "blogdescription": "A great blog" * } * } * */ export type SetSiteOptionsStep = { /** The name of the step. Must be "setSiteOptions". */ step: 'setSiteOptions'; /** The options to set on the site. */ options: Record; }; /** * Sets site options. This is equivalent to calling [`update_option`](https://developer.wordpress.org/reference/functions/update_option/) for each * option in the [`options`](https://developer.wordpress.org/apis/options/#available-options-by-category) object. */ export declare const setSiteOptions: StepHandler; /** * @inheritDoc updateUserMeta * @hasRunnableExample * * @example * * * { * "step": "updateUserMeta", * "meta": { * "first_name": "John", * "last_name": "Doe" * }, * "userId": 1 * } * */ export interface UpdateUserMetaStep { step: 'updateUserMeta'; /** An object of user meta values to set, e.g. { "first_name": "John" } */ meta: Record; /** User ID */ userId: number; } /** * Updates user meta. This is equivalent to calling [`update_user_meta`](https://developer.wordpress.org/reference/functions/update_user_meta/) for each * meta value in the `meta` object. */ export declare const updateUserMeta: StepHandler;