interface SocketProps { url: string; topic: string; history?: boolean; } export declare function useSocket({ url, topic, history }: SocketProps): any; export {};