/**
 * Logger utility for the editor package.
 * Logs only in development mode to avoid information disclosure in production.
 * TODO: Add integration with error tracking service (Sentry, etc.) for production
 */
/**
 * Logger object with methods for different log levels.
 * In production, these are no-ops to prevent console noise and info disclosure.
 */
export declare const logger: {
    /**
     * Log error messages. In production, consider sending to error tracking service.
     */
    error: (message: string, error?: unknown) => void;
    /**
     * Log warning messages.
     */
    warn: (message: string, data?: unknown) => void;
    /**
     * Log informational messages (uses warn in dev to comply with ESLint rules).
     */
    info: (message: string, data?: unknown) => void;
    /**
     * Log debug messages (verbose logging for development, uses warn in dev).
     */
    debug: (message: string, data?: unknown) => void;
};
/**
 * Type-safe error handler that captures both message and error object.
 * Use this for async operations where you need to handle errors.
 */
export declare function handleError(context: string, error: unknown, options?: {
    silent?: boolean;
    fallbackMessage?: string;
}): void;
/**
 * Wrap a function with error logging.
 * Useful for event handlers and callbacks.
 */
export declare function withErrorLogging<T extends (...args: unknown[]) => unknown>(fn: T, context: string): (...args: Parameters<T>) => ReturnType<T> | undefined;
