import { Done } from '../../../../../Class/Functional/Done';
import { Holder } from '../../../../../Class/Holder';
import { SemifunctionalEvents } from '../../../../../Class/Semifunctional';
import { System } from '../../../../../system';
import { CH } from '../../../../../types/interface/CH';
export interface I<T> {
    channel: string;
    message: T;
}
export interface O<T> {
    port: CH;
}
export type LocalChannel_EE = {
    message: [any];
};
export type LocalChannelEvents = SemifunctionalEvents<LocalChannel_EE> & LocalChannel_EE;
export default class LocalChannel<T> extends Holder<I<T>, O<T>> implements CH {
    private _bc;
    constructor(system: System);
    send(data: any): Promise<void>;
    f({ channel }: I<T>, done: Done<O<T>>): void;
    d(): void;
}
