@polyipseity/obsidian-plugin-library
Version:
Library for Obsidian plugins.
11 lines • 546 B
TypeScript
import type { LibraryUUIDs } from "./magic.js";
import type { Opaque } from "ts-essentials";
export declare namespace Platform {
const DESKTOP: readonly ["darwin", "linux", "win32"], MOBILE: readonly ["android", "ios"], ALL: readonly ["darwin", "linux", "win32", "android", "ios", "unknown"];
type Desktop = typeof DESKTOP[number];
type Mobile = typeof MOBILE[number];
type All = typeof ALL[number];
type Current = Opaque<All, typeof LibraryUUIDs["UUID2"]>;
const CURRENT: Current;
}
//# sourceMappingURL=platform.d.ts.map