import { ServerHandler } from '../../../../../API';
import { Done } from '../../../../../Class/Functional/Done';
import { Fail } from '../../../../../Class/Functional/Fail';
import { Holder } from '../../../../../Class/Holder';
import { System } from '../../../../../system';
import { SE } from '../../../../../types/interface/SE';
export type I = {
    port: number;
    server: SE;
    close: any;
};
export type O = {
    url: string;
};
export declare const makeHandler: (system: System, push: (url: string) => void) => ServerHandler;
export default class Listen0 extends Holder<I, O> {
    private _unlisten;
    constructor(system: System);
    f({ server, port }: I, done: Done<O>, fail: Fail): Promise<void>;
    d(): void;
}
