interface Configtype { hasborder: boolean; heightLight: boolean; enabled: boolean; img: { maxWidth: number; maxHeight: number; }; base: BaseConfig; info: Info; error: ErrorType; success: Success; warning: Warning; equal: equalType; } interface BaseFunction extends Function { (...args: any[]): any; } interface ErrorType extends BaseConfig { } interface Success extends BaseConfig { } interface Warning extends BaseConfig { } interface Info extends BaseConfig { } interface equalType { } type BaseConfig = { title: string | number; titleColor: string; contentColor: string; backgroundColor: string; borderColor: string; }; type SelectableConfig = { [key in keyof T]?: T[key] extends object ? SelectableConfig : T[key] | undefined; }; declare function createExtendedFunction(func: Function, properties: T, prop?: 'base'): BaseFunction; declare class ColorError extends Error { constructor(message: string); } declare function margeconfig(oldConfig: any, newConfig: any): any; declare function compareObject(obj1: any, obj2: any): boolean; declare function drawCross(ctx: any, canvas: any): void; declare function getLighterColor(colorName: string, lightnessFactor?: number): string; declare const baseLog: Function & { info: Function; error: Function; warning: Function; picture: Function; equal: Function; success: Function; setconfig: Function; }; export { type BaseConfig, type BaseFunction, ColorError, type Configtype, type ErrorType, type Info, type SelectableConfig, type Success, type Warning, compareObject, createExtendedFunction, baseLog as default, drawCross, type equalType, getLighterColor, margeconfig };