/**
 * 自定义日志记录器，在stdio模式下禁用标准输出
 */
export interface Logger {
  log: (message: string, ...args: any[]) => void;
  error: (message: string, ...args: any[]) => void;
  warn: (message: string, ...args: any[]) => void;
  info: (message: string, ...args: any[]) => void;
  debug: (message: string, ...args: any[]) => void;
}

/**
 * 自定义logger实例
 */
export const logger: Logger;

/**
 * 检查是否处于stdio模式
 */
export function isStdioMode(): boolean;
