import type { SignalingProtocol } from "../protocol.js"; type NtfyAttachment = { url: string; name: string; size: number; type: string; }; export type NtfyMessage = { id: string; time: number; expires: number; event: string; topic: string; message: string; attachment?: NtfyAttachment; }; /** * Ntfy Signaling Layer * * Uses HTTP Post for publishing * Uses WebSocket for subscribing * * URL format supports the ?auth= parameter * example: https://ntfy.sh/mytopic?auth=mytoken * * The same goes for apprise ntfy urls * example: ntfy://{token}@{hostname}/{topic} * example: ntfy://{user}:{password}@{hostname}/{topic} * https variant: ntfys://{user}:{password}@{hostname}/{topic} * * https://openlv.sh/api/signaling/ntfy */ export declare const ntfy: SignalingProtocol; export {};