import { Vault, VaultOptions } from '../../../vault'; import { Level } from '../../../level'; import { Format } from '../../../format'; import { Log } from '../../../log'; export interface WebSocketVaultOptions extends VaultOptions { level: Level; format: Format; url: string; protocol: 'ws'; } export declare class WebSocketVault extends Vault { private readonly url; private webSocket; constructor(options: WebSocketVaultOptions); private setupWebSocket; private reconnect; store(log: Log): void; protected shouldStore(log: Log): boolean; }