/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
/**
 * Tiny browser-side logger for Studio client components.
 *
 * Wraps `console.warn`/`console.error` with a component prefix so logs are
 * attributable. Use this instead of calling console directly.
 */
export interface BrowserLogger {
    warn(event: string, context?: Record<string, unknown>): void;
    error(event: string, context?: Record<string, unknown>): void;
}
/**
 * Create a logger scoped to a component or module name.
 */
export declare function createBrowserLogger(name: string): BrowserLogger;
