import { commandExists } from './exec.js'; import type { ServiceStatus, SystemdUnit, GmailServiceInfo, TunnelInfo, HooksProxyInfo, GCloudProject } from '../types.js'; export { commandExists }; export declare function isLinux(): boolean; export declare function isRoot(): boolean; export declare function getOS(): Promise; export declare function isDebianBased(): Promise; export declare function getVersion(cmd: string, versionFlag?: string): Promise; export declare function checkCommands(cmds: string[]): Promise>; export declare function getUsedPorts(): Promise>; export declare function findNextPort(startPort?: number): Promise; export declare function isPortFree(port: number): Promise; export declare function getServiceStatus(name: string): Promise; export declare function isServiceRunning(name: string): Promise; export declare function listSystemdServices(pattern?: string): Promise; export declare function readSystemdService(name: string): Promise; export declare function writeSystemdService(name: string, content: string): Promise; export declare function enableAndStartService(name: string): Promise; export declare function restartService(name: string): Promise; export declare function detectGmailServices(): Promise; export declare function parseGmailServiceInfo(serviceFile: string): Promise; export declare function detectCloudflaredToken(): Promise; export declare function parseTunnelToken(token: string): TunnelInfo | null; export declare function detectHooksProxyInfo(): Promise; export declare function gcloudListProjects(): Promise; export declare function gcloudGetCurrentProject(): Promise; export declare function gcloudIsAuthenticated(): Promise; export declare function gcloudGetActiveAccount(): Promise; export declare function getPublicIP(): Promise; //# sourceMappingURL=system.d.ts.map