export interface KbRow { org: string; name: string; defaultBranch?: string; gitUrl?: string; webUrl?: string; verdict?: { status?: string; } | null; } /** A refusal the server made, already phrased for a human. */ export declare class RegistryError extends Error { status: number; constructor(message: string, status: number); } /** POST /api/kbs — an empty KB on a template, under an org. */ export declare function createKb({ host, token, name, org }: { host: string; token: string; name: string; org: string; }): Promise; /** GET /api/kbs — every KB this session can reach, in the server's order. */ export declare function listKbs({ host, token }: { host: string; token: string; }): Promise; /** The web URL for a registry row, falling back to the addressing rule. */ export declare function webUrlFor(kb: KbRow, host: string): string;