/**
 * @module        MatrixNotifier
 * @description   Matrix 协议消息通知器，通过 Matrix REST API 发送流水线通知
 *
 * @author        eddy
 * @organization  wykj
 * @ownership     wykj/eddy
 *
 * @created       2026-03-19
 * @updated       2026-03-19
 *
 * @role          provider
 * @layer         provider
 * @boundedContext notification
 */
import type { ProjectConfig } from '../core/config.js';
import type { Notifier } from '../interfaces/Notifier.js';
export declare class MatrixNotifier implements Notifier {
    private readonly homeserver;
    private readonly accessToken;
    private readonly roomId;
    private readonly enabled;
    constructor(config: ProjectConfig);
    /**
     * Send a message to the configured Matrix room.
     * Optionally prefix with a level indicator.
     */
    send(message: string, level?: 'info' | 'success' | 'warning' | 'error'): Promise<void>;
    sendSuccess(message: string): Promise<void>;
    sendWarning(message: string): Promise<void>;
    sendError(message: string): Promise<void>;
    /**
     * Format items as a bulleted list and send as a single message.
     */
    sendDigest(items: {
        title: string;
        status: string;
    }[]): Promise<void>;
    /**
     * Send a raw text message to the Matrix room via the Client-Server API.
     * Errors are logged to stderr but never thrown — notifications are non-critical.
     */
    private sendToMatrix;
}
//# sourceMappingURL=MatrixNotifier.d.ts.map