type ICallback = () => void; /** * Helper class for managing graceful shutdown callbacks * * Example: * When running "sparo fetch --all", the command will temporarily modify git configs. * It's essential to register a restore callback via graceful shutdown service to * prevent inconsistent git configs status if user presses CTRL + C to terminate the * process in the middle of running. */ export declare class GracefulShutdownService { private _callbacks; setup: () => void; registerCallback: (cb: ICallback) => void; unregisterCallback: (cb?: ICallback) => void; private _handleSignal; } export {}; //# sourceMappingURL=GracefulShutdownService.d.ts.map