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>>;
