import type { WakeState } from './types.js'; /** Default owner ID for single-user backward compatibility. */ declare const DEFAULT_OWNER = "default"; /** Get or create the server-level encryption key. */ declare function getServerKey(): Promise; /** Load state for an owner. Returns null if not found. */ declare function loadState(ownerId?: string): Promise; /** Save state for an owner. Auto-backs up previous state. */ declare function saveState(state: WakeState, ownerId?: string): Promise; /** Check if a will exists for an owner. */ declare function willExists(ownerId?: string): boolean; export { loadState, saveState, willExists, getServerKey, DEFAULT_OWNER };