homebridge-virtual-accessories
Version:
Virtual HomeKit accessories for Homebridge.
26 lines (25 loc) • 718 B
TypeScript
import { Validatable } from '../validatable.js';
/**
*
*/
declare class ValveDurationConfiguration implements Validatable {
static readonly MINUTES_MAX_VALUE: number;
static readonly SECONDS_MAX_VALUE: number;
minutes: number;
seconds: number;
private errorFields;
readonly fieldNames: { [P in keyof this]?: P | undefined; };
isValid(prefix: string): [boolean, string[]];
toSeconds(): number;
}
/**
*
*/
export declare class ValveConfiguration implements Validatable {
type: string;
duration: ValveDurationConfiguration;
private errorFields;
readonly fieldNames: { [P in keyof this]?: P | undefined; };
isValid(prefix: string): [boolean, string[]];
}
export {};