// Type definitions for tailwind-to-style/utils // Tree-shakeable import: import { logger, LRUCache } from 'tailwind-to-style/utils' export class Logger { constructor(level?: 'debug' | 'info' | 'warn' | 'error' | 'silent'); setLevel(level: 'debug' | 'info' | 'warn' | 'error' | 'silent'): void; getLevel(): string; debug(message: string, ...args: any[]): void; info(message: string, ...args: any[]): void; warn(message: string, ...args: any[]): void; error(message: string, ...args: any[]): void; } export const logger: Logger; export class LRUCache { constructor(maxSize?: number); get(key: K): V | undefined; set(key: K, value: V): void; has(key: K): boolean; clear(): void; delete(key: K): boolean; readonly size: number; } export class TwsError extends Error { constructor(message: string, context?: Record); context: Record; timestamp: string; } export function onError(handler: (error: TwsError) => void): () => void; export function handleError(error: Error, context?: Record): TwsError; export class TailwindCache { getOrGenerate(generateFn: Function, convertFn: Function): any; getCssString(): string | null; getCssObject(): Record | null; isInitialized(): boolean; reset(): void; } export function getTailwindCache(): TailwindCache; export function resetTailwindCache(): void;