amaran-light-cli
Version:
Command line tool for controlling Aputure Amaran lights via WebSocket to a local Amaran desktop app.
86 lines • 2.69 kB
TypeScript
import { CurveType } from './types.js';
export declare const CCT_DEFAULTS: {
cctMinK: number;
cctMaxK: number;
intensityMinPct: number;
intensityMaxPct: number;
maxLux: number;
};
export declare const CURVE_METADATA: Record<keyof typeof CurveType, {
shortName: string;
fullName: string;
}>;
export declare const ALL_CURVE_TYPES_ORDERED: (keyof typeof CurveType)[];
export declare const VALID_CURVES_LIST: string;
export declare const SPECIAL_TIME_CONFIG: readonly [{
readonly key: "nightEnd";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "NE";
}, {
readonly key: "nauticalDawn";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "DN";
}, {
readonly key: "dawn";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "DA";
}, {
readonly key: "sunrise";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "SR";
}, {
readonly key: "sunriseEnd";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "SE";
}, {
readonly key: "goldenHourEnd";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "GE";
}, {
readonly key: "solarNoon";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "SN";
}, {
readonly key: "goldenHour";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "GH";
}, {
readonly key: "sunsetStart";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "SB";
}, {
readonly key: "sunset";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "SS";
}, {
readonly key: "nauticalDusk";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "ND";
}, {
readonly key: "dusk";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "DU";
}, {
readonly key: "night";
readonly color: import("chalk").ChalkInstance;
readonly emoji: "NI";
}];
export declare const VALIDATION_RANGES: {
latitude: {
min: number;
max: number;
};
longitude: {
min: number;
max: number;
};
};
export declare const ERROR_MESSAGES: {
readonly invalidLatitude: `Latitude must be between ${number} and ${number}`;
readonly invalidLongitude: `Longitude must be between ${number} and ${number}`;
readonly invalidCurve: `Invalid curve type. Use one of: ${string}`;
readonly locationUnavailable: "Could not determine location. Use --lat and --lon to specify manually.";
readonly nightTimesUnavailable: "Could not calculate night times for this location";
};
export declare const CURVE_HELP_TEXT: string;
//# sourceMappingURL=constants.d.ts.map