import { type RequireAtLeastOne } from 'type-fest'; type _Choices = { readonly macos?: Macos | (() => Macos); readonly windows?: Windows | (() => Windows); readonly linux?: Linux | (() => Linux); readonly default?: Default | (() => Default); }; export type Choices = RequireAtLeastOne<_Choices, 'macos' | 'windows' | 'linux'>; /** Accepts an object with the keys as either `macos`, `windows`, `linux`, or `default`, and picks the appropriate key depending on the current platform. If no platform key is matched, the `default` key is used if it exists. If the value is a function, it will be executed, and the returned value will be used. @example ``` init({ enableUnicorn: util.platform({ macos: true, windows: false, linux: () => false }) }); ``` */ export declare const platform: (choices: Choices) => any; export {};