import type { FetchJsonOptions } from './browser/fetch'; export interface GotifyMessage { title: string; message: string; priority?: number; clickUrl?: string; /** Drawn in the shade by the client, which fetches it itself - so it must need no session of the sender's. */ imageUrl?: string; markdown?: boolean; } /** Transport options forwarded to `fetchJson`, e.g. `timeout` and `signal`. */ export type GotifyFetchOptions = Pick; /** POSTs a single message to a Gotify `/message` endpoint, authenticating with the app token, with a 15 s default `timeout`. Throws `FetchError` on a non-2xx response. */ export declare function sendGotify(url: string, token: string, message: GotifyMessage, options?: GotifyFetchOptions): Promise; //# sourceMappingURL=gotify.d.ts.map