import { VersionInfo } from "./VersionInfo"; import { Device } from "./Device"; import { Effect } from "./Effect"; import { ErrorCode } from "./ErrorCode"; import { InitializationRequestData } from "./InitializationRequestData"; import { Color } from "./Color"; import { NUM_ARRAY_6_BY_22, NUM_ARRAY_9_BY_7, NUM_ARRAY_1_BY_20, NUM_ARRAY_1_BY_5, NUM_ARRAY_4_BY_5, NUM_ARRAY_8_BY_24 } from "./arrays"; export { Device } from "./Device"; export { Color } from "./Color"; export { Effect } from "./Effect"; export { Category } from "./Category"; export { ErrorCode } from "./ErrorCode"; export declare class RazerChromaSDK { #private; /** Heartbeat interval in milliseconds. */ static heartbeatInterval: number; /** * Returns the current Chroma SDK version that is present in the system. * @returns * the current Chroma SDK version that is present in the system. */ static getVersionInfo(uri?: string | URL): Promise; static initialize(initData: InitializationRequestData, uri?: string | URL): Promise; get devices(): { supported: Set; }; private constructor(); get uri(): URL; get sessionId(): number | null; protected get tick(): number; toString(): string; uninitialize(): Promise; get effects(): Effects; } declare class Effects { #private; constructor(sdk: RazerChromaSDK); get created(): Map; create(device: typeof Device.KEYBOARD, effect: { effect: typeof Effect.NONE; }): Promise; create(device: typeof Device.KEYBOARD, effect: { effect: typeof Effect.STATIC; param: { color: Color | number; }; }): Promise; create(device: typeof Device.KEYBOARD, effect: { effect: typeof Effect.CUSTOM2; param: { color: NUM_ARRAY_8_BY_24; key: NUM_ARRAY_6_BY_22; }; }): Promise; create(device: typeof Device.KEYBOARD, effect: { effect: typeof Effect.CUSTOM; param: NUM_ARRAY_6_BY_22; }): Promise; create(device: typeof Device.KEYBOARD, effect: { effect: typeof Effect.CUSTOM_KEY; param: { color: NUM_ARRAY_6_BY_22; key: NUM_ARRAY_6_BY_22; }; }): Promise; create(device: typeof Device.MOUSE, effect: { effect: typeof Effect.NONE; }): Promise; create(device: typeof Device.MOUSE, effect: { effect: typeof Effect.STATIC; param: { color: Color | number; }; }): Promise; create(device: typeof Device.MOUSE, effect: { effect: typeof Effect.CUSTOM2; param: NUM_ARRAY_9_BY_7; }): Promise; create(device: typeof Device.MOUSEPAD, effect: { effect: typeof Effect.NONE; }): Promise; create(device: typeof Device.MOUSEPAD, effect: { effect: typeof Effect.STATIC; param: { color: Color | number; }; }): Promise; create(device: typeof Device.MOUSEPAD, effect: { effect: typeof Effect.CUSTOM; param: NUM_ARRAY_1_BY_20; }): Promise; create(device: typeof Device.HEADSET, effect: { effect: typeof Effect.NONE; }): Promise; create(device: typeof Device.HEADSET, effect: { effect: typeof Effect.STATIC; param: { color: Color | number; }; }): Promise; create(device: typeof Device.HEADSET, effect: { effect: typeof Effect.CUSTOM; param: NUM_ARRAY_1_BY_5; }): Promise; create(device: typeof Device.KEYPAD, effect: { effect: typeof Effect.NONE; }): Promise; create(device: typeof Device.KEYPAD, effect: { effect: typeof Effect.STATIC; param: { color: number; }; }): Promise; create(device: typeof Device.KEYPAD, effect: { effect: typeof Effect.CUSTOM; param: NUM_ARRAY_4_BY_5; }): Promise; create(device: typeof Device.CHROMALINK, effect: { effect: typeof Effect.NONE; }): Promise; create(device: typeof Device.CHROMALINK, effect: { effect: typeof Effect.STATIC; param: { color: Color | number; }; }): Promise; create(device: typeof Device.CHROMALINK, effect: { effect: typeof Effect.CUSTOM; param: NUM_ARRAY_1_BY_5; }): Promise; set(id: string): Promise; set(ids: string[]): Promise; delete(id: string): Promise; delete(ids: string[]): Promise; }