import { $ } from '../../../../../Class/$';
import { Done } from '../../../../../Class/Functional/Done';
import { Holder } from '../../../../../Class/Holder';
import { Semifunctional_EE, SemifunctionalEvents } from '../../../../../Class/Semifunctional';
import { System } from '../../../../../system';
import { CH } from '../../../../../types/interface/CH';
export type I = {
    url: string;
    close: any;
};
export type O = {
    channel: CH & $;
};
export type Socket_EE = {
    message: [any];
    close: [any, any];
};
export type SocketEvents = SemifunctionalEvents<Semifunctional_EE> & Socket_EE;
export default class Socket extends Holder<I, O, SocketEvents> implements CH {
    private _web_socket;
    constructor(system: System);
    f({ url }: I, done: Done<O>): void;
    d(): void;
    send(data: any): Promise<void>;
}
