import { deny } from "@/lib/decision" import type { ApiDecision } from "@/lib/errors" import type { ChatMessage, ChatSession } from "@/lib/types" export type ListChatSessionsOptions = { offset?: number limit?: number } export type ListChatMessagesOptions = { offset?: number limit?: number } const unavailable = "聊天接口暂未开放" export async function listChatSessions(_options?: ListChatSessionsOptions): Promise { return [] } export async function getChatSessionById(_sessionId: string): Promise { return undefined } export async function listChatMessages( _sessionId: string, _options?: ListChatMessagesOptions, ): Promise { return [] } export async function sendTextMessage(_sessionId: string, _content: string): Promise { return deny(404, unavailable) } export async function sendImageMessage( _sessionId: string, _imageUrl: string, ): Promise { return deny(404, unavailable) }