import type { Buffer } from 'node:buffer'; import type { LockCommandSet, LockModel } from '../settings.js'; import type { LockCommands, LockStatus } from '../types/device.js'; import { SequenceDevice } from './sequence-device.js'; /** * Smart Lock Device */ export declare class WoSmartLock extends SequenceDevice implements LockCommands { private lockNotificationHandlers; /** The lock model used when the device type does not name one */ protected readonly defaultLockModel: LockModel; /** This lock's model, which selects its BLE commands (pySwitchbot's per-model tables) */ get lockModel(): LockModel; protected get lockCommands(): LockCommandSet; /** Lock state comes from the manufacturer data in advertisements, as in pySwitchbot */ protected get readsFromAdvertisement(): boolean; /** * Lock the lock */ lock(): Promise; /** * Unlock the lock */ unlock(): Promise; getLockInfo(): Promise>; onLockNotification(handler: (payload: Buffer) => void): Promise; offLockNotification(handler: (payload: Buffer) => void): void; /** * Get device status (BLE-first, API-fallback) */ getStatus(): Promise; } //# sourceMappingURL=wo-lock.d.ts.map