import SSEChannel from 'sse-channel';
import { Logger } from '../Logger';
import { AbstractPush } from './abstract.push';
import type { PushRequest, PushResponse } from './types';
type Connection = {
    req: PushRequest;
    res: PushResponse;
};
export declare class SSEPush extends AbstractPush<Connection> {
    readonly channel: SSEChannel;
    readonly connections: Record<string, Connection>;
    constructor(logger: Logger);
    add(pushRef: string, connection: Connection): void;
    protected close({ res }: Connection): void;
    protected sendToOneConnection(connection: Connection, data: string): void;
}
export {};
