import type { Helia } from "helia"; export type { NodeCapabilities, NodeNeighbor } from "./relay-caps.js"; export { NODE_CAPS_TOPIC, encodeNodeCaps, decodeNodeCaps, } from "./relay-caps.js"; export { appIdToCID, deriveHttpUrl, deriveHttpUrlFromCert, } from "./relay-utils.js"; export interface RelayConfig { storagePath: string; wsPort?: number; tcpPort?: number; announceAddrs?: string[]; roles?: string[]; delegatedRoutingUrl?: string; noTls?: boolean; } export interface Relay { stop(): Promise; multiaddrs(): string[]; peerId(): string; helia: Helia; /** Set by bin/node.ts once the HTTPS block server * is listening. Included in caps advertisements. */ httpUrl: string | undefined; } export declare function startRelay(config: RelayConfig): Promise; //# sourceMappingURL=relay.d.ts.map