/**
 * stderr-only structured logger.
 * CRITICAL: Never write to stdout — it's reserved for JSON-RPC in stdio transport.
 */
type LogLevel = "debug" | "info" | "warn" | "error";
export declare function setLogLevel(level: LogLevel): void;
export interface Logger {
    debug: (msg: string, data?: Record<string, unknown>) => void;
    info: (msg: string, data?: Record<string, unknown>) => void;
    warn: (msg: string, data?: Record<string, unknown>) => void;
    error: (msg: string, data?: Record<string, unknown>) => void;
}
/**
 * @deprecated Use `AuditEvent` from `../audit/types.js` instead.
 * Kept for backward compatibility with external consumers.
 */
export interface AuditEntry {
    operation: string;
    resource_type: string;
    resource_id?: string;
    action?: string;
    org_id?: string;
    project_id?: string;
    outcome: "success" | "error";
    error?: string;
}
/**
 * @deprecated Use `AuditManager` from `../audit/index.js` instead.
 * This function writes directly to stderr and does not fan out to
 * configured audit sinks. Kept for backward compatibility.
 */
export declare function logAudit(entry: AuditEntry): void;
export declare function createLogger(module: string): Logger;
export {};
//# sourceMappingURL=logger.d.ts.map