import 'gun/sea'; import local from './local'; import global from './global'; import publicState from './public'; import group from './group'; import privateState from './private'; import SignedMessage from './SignedMessage'; import Channel from './Channel'; import Node from './Node'; import Key from './Key'; declare const _default: { local: typeof local; global: typeof global; group: typeof group; public: typeof publicState; private: typeof privateState; static: { get(hash: string, callback: Function): Promise; put(value: any): Promise; }; electron: import("gun").IGunChain, import("gun").IGunInstance, "state"> | null; peers: { known: { [key: string]: { url?: string | undefined; enabled?: boolean | undefined; from?: string | undefined; visibility?: string | undefined; }; }; add(peer: { url?: string | undefined; enabled?: boolean | undefined; from?: string | undefined; visibility?: string | undefined; }): Promise; remove(url: string): void; disconnect(peerFromGun: any): void; save(): void; getSaved(): any; reset(): void; connect(url: string): void; disable(url: string, peerFromGun: any): void; isMixedContent(url: string): boolean; random(): any[]; checkGunPeerCount(): void; init(): void; }; session: { init(options?: any): void; DEFAULT_SETTINGS: { electron: { openAtLogin: boolean; minimizeOnClose: boolean; }; local: { enableWebtorrent: boolean; enablePublicPeerDiscovery: boolean; autoplayWebtorrent: boolean; maxConnectedPeers: number; }; }; DEFAULT_FOLLOW: string; taskQueue: any[]; updateSearchIndex: () => void; saveSearchResult: () => void; addFollow(callback: Function, k: string, followDistance: number, follower?: string | undefined): void; addToSearchIndex(key: string, item: any): void; removeFollow(k: string, followDistance: number, follower: string): void; getExtendedFollows(callback: Function, k?: any, maxDepth?: number, currentDepth?: number): any; updateNoFollows: () => void; updateNoFollowers: () => void; getSearchIndex(): any; setOurOnlineStatus(): void; updateGroups(): void; login(k: any, opts?: {}): Promise; loginAsNewUser(options?: any): Promise; logOut(): Promise; clearIndexedDB(): Promise; getMyChatLink(): string; getKey(): any; getPubKey(): any; getMyName(): string; myPeerUrl: (ip: string) => string; shareMyPeerUrl(channel: Channel): Promise; newChannel(pub: string, chatLink?: string | undefined): Channel | undefined; addChannel(chat: Channel): void; processMessage(chatId: string, msg: any, info: any, onClickNotification?: Function | undefined): void; subscribeToMsgs(pub: any): void; channelIds: Set; }; util: { gunOnceDefined: (node: any) => Promise; gunAsAnotherUser: (gun: any, key: any, f: Function) => any; getHash(str: string, format?: string): Promise; capitalize(s: string): string; generateName(): string; animals: string[]; adjectives: string[]; base64ToHex(str: string): string; getCaret(el: HTMLInputElement): any; injectCss(): void; getUrlParameter(sParam: string, sParams: string): string | true | undefined; formatTime(date: Date): any; formatDate(date: Date): string; getDaySeparatorText(date: Date, dateStr: string, now?: Date | undefined, nowStr?: string | undefined): string; getProfileLink(pub: string): string; truncateString(s: string, length?: number): string; createElement(type: string, cls?: string | undefined, parent?: HTMLElement | undefined): HTMLElement; isNode: boolean; isElectron: boolean | ""; isMobile: boolean; throttle: (func: Function, limit: number) => () => void; debounce: (func: Function, delay: number) => () => void; sample: (arr: any[]) => any; sampleSize: (arr: any[], size: number) => any[]; defer: (func: Function) => number; once: (func: Function) => () => void; omit: (obj: any, keys: string[]) => {}; }; notifications: { init: () => void; notifyMsg: (msg: any, info: any, channelId: any, onClick: any) => void; getNotificationText: (notification: any) => Promise; sendWebPushNotification: (recipient: any, notification: any) => Promise; changeUnseenNotificationCount: (change: any) => void; subscribeToIrisNotifications: (onClick?: Function | undefined) => void; sendIrisNotification: (recipient: any, notification: any) => Promise; changeChatUnseenCount: (chatId: any, change: any) => void; webPushSubscriptions: {}; subscribeToWebPush: () => Promise; getWebPushSubscriptions: () => Promise; removeSubscription: (hash: any) => void; }; SEA: import("gun").ISEA; Gun: import("gun").IGun; SignedMessage: typeof SignedMessage; Channel: typeof Channel; Node: typeof Node; Key: typeof Key; }; export default _default;