import { VaultCloudClient } from "./cloud.js"; import type { privateStore } from "./private-store.js"; type DeviceCloud = Pick; export type LocalDeviceStatus = { status: "online" | "offline" | "revoked" | "unregistered"; name?: string; lastSeenAt?: string; error?: string; }; export declare function localDevice(home: string, cloud: DeviceCloud, storage: ReturnType | undefined, version: string): { heartbeat: () => Promise; close(): void; status: () => { status: "online" | "offline" | "revoked" | "unregistered"; name?: string; lastSeenAt?: string; error?: string; }; disconnect(): Promise; reauthorize(): Promise; }; export {};