import { Readable } from "stream";
interface StreamOptions {
    /**
     * Event name/type to be emitted when stream data is sent to the client.
     *
     * Defaults to `"stream"`.
     */
    eventName?: string;
}
declare const createPushFromStream: (push: (data: unknown, eventName: string) => void) => (stream: Readable, options?: StreamOptions) => Promise<boolean>;
export type { StreamOptions };
export { createPushFromStream };
