UNPKG

ntfy

Version:

Send notifications over ntfy.sh.

8 lines (7 loc) 342 B
import type { BaseConfig, Config, ResponseData } from './interfaces.js'; export declare class NtfyClient { private readonly config?; constructor(config?: Partial<BaseConfig>); publish<T extends Config>(config: T): Promise<ResponseData<T>>; } export declare function publish<T extends Config>(config: T): Promise<ResponseData<T>>;