import type { ApiServer } from '../ApiServer'; import type { MatrixStore } from '../matrix/types'; export interface MatrixHandlerOptions { store: MatrixStore; } /** * Register the Matrix Client-Server compatibility adapter. * * Keep these externally visible routes Matrix-shaped: * - `/.well-known/matrix/client` is public discovery. * - `/_matrix/client/...` is Matrix's protocol namespace. * * Do not mount this adapter under `/api` or `/matrix`; first-party Xpod * clients should use Xpod-owned chat/message APIs, while Matrix clients need * the standard route shape to interoperate with existing SDKs. */ export declare function registerMatrixRoutes(server: ApiServer, options: MatrixHandlerOptions): void;