export interface ISocketAction<TData = {}> {
    id: string;
    data: TData;
}
export interface ISocketAbstract {
    send: (id: string, data?: any) => void;
    on: (id: string, callback: any) => void;
    off: (id: string) => void;
}
export declare function socket(): Promise<ISocketAbstract>;
