import { IColorable } from '../interfaces'; /** * Converts a plain object to a class instance if it is not already an instance of the class. * * Requires specific constructor signature; first parameter must be the object to convert. * @param cls The class to convert to * @param args The object to convert, followed by any other constructor arguments * @returns The class instance */ export declare function toClass
(cls: new (instance: P, ...args: Args) => C, ...args: [P, ...Args]): C; /** * Checks if an object is an instance of {@link IColorable}. */ export declare function isColorable(obj: unknown): obj is IColorable;