export type CallbacksMap = Map<string, () => void>;
/**
 * Initializes process signal handlers used by the operator.
 *
 * Currently this sets up handling for `SIGTERM`, using the callback
 * associated with the `"SIGTERM"` key from the provided {@link CallbacksMap}
 * to start the shutdown sequence. The returned {@link CallbacksMap} contains
 * handler-specific callbacks (such as `"FINISH_OK"`) that callers can invoke
 * to indicate that it is safe for the process to exit.
 *
 * @param callbacks A map of signal names to shutdown callbacks. The `"SIGTERM"`
 *   entry (if present) is invoked when a `SIGTERM` signal is received to
 *   perform any necessary cleanup before process termination.
 * @returns A {@link CallbacksMap} with control callbacks that allow the caller
 *   to signal when shutdown has completed and the process may safely exit.
 */
export declare function initSignalsHandler(callbacks: CallbacksMap): CallbacksMap;
