export declare const FUGLE_MARKETDATA_API_REST_BASE_URL = "https://api.fugle.tw/marketdata"; export declare const FUGLE_MARKETDATA_API_WEBSOCKET_BASE_URL = "wss://api.fugle.tw/marketdata"; export declare const FUGLE_MARKETDATA_API_VERSION = "v1.0"; /** * WebSocket streaming versions available per product, oldest first — the last * entry is the product's latest and is what you get when no `version` option * is supplied. * * futopt v1.1 is v1.0 plus trial-matching (試撮, TAIFEX I022/I082) frames on * the `trades` and `books` channels, which carry a top-level `isTrial: true`. * Stock has no v1.1: its trials have always been streamed, so there was no * compatibility break to gate. */ export declare const FUGLE_MARKETDATA_WS_SUPPORTED_VERSIONS: { readonly stock: readonly ["v1.0"]; readonly futopt: readonly ["v1.0", "v1.1"]; }; export declare const CONNECT_EVENT = "connect"; export declare const DISCONNECT_EVENT = "disconnect"; export declare const MESSAGE_EVENT = "message"; export declare const ERROR_EVENT = "error"; export declare const AUTHENTICATED_EVENT = "authenticated"; export declare const UNAUTHENTICATED_EVENT = "unauthenticated"; export declare const UNAUTHENTICATED_MESSAGE = "Invalid authentication credentials";