import type { Got } from 'got'; import type { Room } from '../types/Room.ts'; import type { Device } from '../types/device/Device.ts'; export default _default; declare function _default(got: Got): { list(): Promise; get({ id }: { id: string; }): Promise; create({ name, icon, color }: Pick): Promise<{ id: string; }>; delete({ id }: { id: string; }): Promise; update({ id, name, icon, color }: Room): Promise; moveDevices({ id, deviceIds }: { id: string; deviceIds: string[]; }): Promise; setIsOn({ id, deviceType, isOn, }: { id: string; deviceType?: Device['deviceType']; isOn: boolean; }): Promise; setAttributes({ id, deviceType, attributes, transitionTime, }: { id: string; deviceType?: Device['deviceType']; attributes: Partial; transitionTime?: number; }): Promise; };