import { str } from "../../chia/types/_python_types_"; import { int, uint64 } from "../../chia_rs/wheel/python/sized_ints"; import { bytes32 } from "../../chia_rs/wheel/python/sized_bytes"; import { TRPCAgent } from "../../../rpc/index"; import { TDaemon } from "../../../daemon/index"; import { GetMessageType, ResType } from "../../types"; export declare const chia_crawler_service = "chia_crawler"; export type chia_crawler_service = typeof chia_crawler_service; export declare const get_peer_counts_command = "get_peer_counts"; export type get_peer_counts_command = typeof get_peer_counts_command; export type TGetPeerCountsResponse = { peer_counts: { total_last_5_days: int; reliable_nodes: int; ipv4_last_5_days: bytes32; ipv6_last_5_days: uint64; versions: Record; }; }; export type WsGetPeerCountsMessage = GetMessageType; export declare function get_peer_counts(agent: T): Promise>; export declare const get_ips_after_timestamp_command = "get_ips_after_timestamp"; export type get_ips_after_timestamp_command = typeof get_ips_after_timestamp_command; export type TGetIpsAfterTimestampRequest = { after: int; offset?: int; limit?: int; }; export type TGetIpsAfterTimestampResponse = { ips: str[]; total: int; }; export type WsGetIpsAfterTimestampMessage = GetMessageType; export declare function get_ips_after_timestamp(agent: T, params: TGetIpsAfterTimestampRequest): Promise>; export type RpcCrawlerMessage = TGetIpsAfterTimestampResponse | TGetPeerCountsResponse; export type RpcCrawlerMessageOnWs = WsGetIpsAfterTimestampMessage | WsGetPeerCountsMessage;