import { WsChannel } from './type/meta'; export type WS_KEY = 'private' | 'public' | 'business'; export declare const WS_BASE_URL: { readonly prod: "wss://ws.okx.com:8443/ws/v5/"; readonly aws: "wss://wsaws.okx.com:8443/ws/v5/"; readonly demo: "wss://wspap.okx.com:8443/ws/v5/"; }; export type MARKET = keyof typeof WS_BASE_URL; export declare const getWsUrl: (market: MARKET, key: WS_KEY) => string; /** Used to automatically determine if a sub request should be to the public or private ws (when there's two) */ export declare const PRIVATE_CHANNELS: string[]; /** * The following channels only support the new business wss endpoint: * https://www.okx.com/help-center/changes-to-v5-api-websocket-subscription-parameter-and-url */ export declare const BUSINESS_CHANNELS: string[]; /** * Get ws key for a certain channel * @param channel Get ws key for a certain channel * @returns {WS_KEY} */ export declare const getWsKeyForTopicChannel: (channel: WsChannel) => WS_KEY; /** * deep match 2 objects * @param object1 {object} * @param object2 {object} * @returns whether the 2 object is deeply match or not */ export declare function deepObjectMatch(object1: object, object2: object): boolean;