import type { arch as nodeArch, platform as nodePlatform, release as nodeRelease, type as nodeType } from "os"; /** * @see https://nodejs.org/api/os.html#os_os_arch * @public */ export declare const getOSArch: () => ReturnType; /** * @see https://nodejs.org/api/os.html#os_os_platform * @public */ export declare const getOSPlatform: () => ReturnType; /** * @see https://nodejs.org/api/os.html#os_os_release * @public */ export declare const getOSRelease: () => ReturnType; /** * @see https://nodejs.org/api/os.html#os_os_type * @public */ export declare const getOSType: () => ReturnType; /** * Open a specified URL using the operating system's default URI handling * system. * * **Note:** Due to sandboxing restrictions, the only supported schemes are * `http` and `https`. Attempting to open any other URL scheme will result * in the `Promise` rejecting. * * @example Opening Google in the user's default browser * ```typescript * import { platform } from "@todesktop/client-core"; * * async function init() { * const url = "https://google.com"; * await platform.os.openURL(url); * console.log(`Successfully asked the OS to open URL ${url}`); * } * * init() * ``` * @public */ export declare function openURL(url: string): Promise;