import type Gio from '@girs/gio-2.0'; import type Soup from '@girs/soup-3.0'; import { Readable } from 'node:stream'; import type { ReadableOptions } from 'node:stream'; /** * Promise wrapper around `Soup.Session.send_async` / `send_finish`. */ export declare function soupSendAsync(session: Soup.Session, msg: Soup.Message, ioPriority?: number, cancellable?: Gio.Cancellable | null): Promise; /** * Converts a `Gio.InputStream` to a Node.js `Readable` stream. */ export declare function inputStreamToReadable(inputStream: Gio.InputStream, options?: ReadableOptions): Readable;