import type EventEmitter from 'events'; import type { IncomingMessage } from 'http'; export declare function stream(data: T): Promise; export declare function decode(request: IncomingMessage): Promise; export declare const warnInDev: (message: string, error?: Error) => void;