import { type Json } from "./protocol.js";
/** The Hook routes for linked computer sets (docs/conductor-sets.md). */
interface LocalInfo {
    computer: {
        id: string;
        name: string;
        aliases?: string[];
    };
}
/** `GET /v1/conductor`: this computer's live conductor and what a peer needs
 * to place it in a set. Asked with the caller's name or host key, it also
 * says whether this computer lists the caller back. */
export declare function conductorAnswer(info: LocalInfo, url: URL): Promise<Json>;
/** `GET /v1/sets`: this computer's set and every set its one-way peers are in, plus unlinked computers. */
export declare function readSets(info: LocalInfo): Promise<Json>;
/** `POST /v1/sets/name`: names this computer's set. The owner's call is sent
 * on to every reachable member; a member's relay (with `namedAt`) is kept
 * when newer than the name held, and goes no further. */
export declare function nameSet(data: Json): Promise<Json>;
export {};
