import type { LinkOptions, LinkResult, UnlinkOptions, UnlinkResult } from '../utils/types.js'; /** * Move ~/.syncpoint to {destination}/.syncpoint/ and create a symlink. * If ~/.syncpoint is already a symlink, unlink and restore before re-linking. */ export declare function linkSyncpoint(destination: string, _options?: LinkOptions): Promise; /** * Create a symlink ~/.syncpoint → /.syncpoint. * For backwards compatibility, if refPath already points to a .syncpoint directory, * it is used as-is. * If ~/.syncpoint already exists, the caller must handle confirmation before invoking this. */ export declare function linkSyncpointByRef(refPath: string): Promise; /** * Remove the symlink at ~/.syncpoint and restore its contents by copying * from the symlink target back to ~/.syncpoint. * With options.clean=true, also removes the destination copy. */ export declare function unlinkSyncpoint(options?: UnlinkOptions): Promise;