import { syscall } from "$sb/silverbullet-syscall/syscall.ts"; export function isSyncing(): Promise { return syscall("sync.isSyncing"); } export function hasInitialSyncCompleted(): Promise { return syscall("sync.hasInitialSyncCompleted"); } export function scheduleFileSync(path: string): Promise { return syscall("sync.scheduleFileSync", path); } export function scheduleSpaceSync(): Promise { return syscall("sync.scheduleSpaceSync"); }