import type { DomindsSelfUpdateStatus } from '@longrun-ai/kernel/types';
type ServerMode = 'development' | 'production';
export declare function checkLatestDomindsVersionNow(): Promise<DomindsSelfUpdateStatus>;
export declare function configureDomindsSelfUpdate(params: {
    host: string;
    port: number;
    mode: ServerMode;
    closeWebSocketClients: () => void;
    stopServer: () => Promise<void>;
}): void;
export declare function setDomindsSelfUpdateBroadcaster(next: ((status: DomindsSelfUpdateStatus) => void) | null): void;
export declare function getDomindsSelfUpdateStatus(): Promise<DomindsSelfUpdateStatus>;
export declare function installLatestDominds(): Promise<DomindsSelfUpdateStatus>;
export declare function restartDomindsIntoLatest(): Promise<DomindsSelfUpdateStatus>;
export declare function forceRestartDominds(): Promise<DomindsSelfUpdateStatus>;
export {};
