UNPKG

@ginden/blinkstick-v2

Version:
16 lines 662 B
import type { RgbTuple } from '../../types'; import type { ConditionalPick, JsonValue } from 'type-fest'; import type { ColorInput } from '../../types'; /** * @summary SimpleFrame represents a single frame of animation with a specific color and duration. * @category Animation */ export declare class SimpleFrame { readonly duration: number; readonly rgb: RgbTuple; static fromProperties(props: ConditionalPick<SimpleFrame, JsonValue>): SimpleFrame; static colorAndDuration(color: ColorInput, duration: number): SimpleFrame; constructor(rgb: RgbTuple, duration: number); toString(): string; } //# sourceMappingURL=simple-frame.d.ts.map