import Star from '../../../lib/star';
import Registry from '../registry';
import Node from '../node';
import { ActionSchema } from '../../../typings/context';
import { EventSchema } from '../../../typings/context/event';
import Service from '../../../lib/star/service';
import ServiceItem from '../service-item';
export default class Endpoint {
    registry: Registry;
    star: Star;
    id: string;
    node: Node;
    local: boolean;
    state: boolean;
    action: ActionSchema | null;
    event: EventSchema | null;
    service: ServiceItem | null;
    name: string;
    constructor(registry: Registry, star: Star, node: Node, service?: Service, event?: any);
    get isAvailable(): boolean;
    destory(): void;
    update(data: any): void;
}
 update(data: any): void;
}
