import { State } from '../../shared/State'; export type Startup = { /** * Check for updates that need applying * @returns {Promise} true if there are updates that need to be applied, false otherwise */ checkForUpdates(): Promise; /** * Apply updates * @param {boolean} wait wait for the operation to complete or not * @param {number} timeout timeout in milliseconds * @returns {Promise} true if successful, false otherwise */ applyUpdates(wait: boolean, timeout?: number): Promise; }; declare const _default: (state: State) => Startup; export default _default; /** * Updates that need to be applied. */ export interface Updates { /** * Array of secrets that need applying */ secrets?: unknown[]; /** * Array of variables that need applying */ variables?: unknown[]; } /** * Check for updates that need applying * @returns {Promise} true if there are updates that need to be applied, false otherwise */ export declare function checkForUpdates({ state, }: { state: State; }): Promise; /** * Apply updates * @param {boolean} wait wait for the operation to complete or not * @param {number} timeout timeout in milliseconds * @returns {Promise} true if successful, false otherwise */ export declare function applyUpdates({ wait, timeout, state, }: { wait: boolean; timeout?: number; state: State; }): Promise; //# sourceMappingURL=StartupOps.d.ts.map