/** * Credential-free client for AgentTool's public KINGDOM framework card. * * This client deliberately owns a separate fetch path. It never receives the * AgentTool authenticated transport or project bearer, does not follow * redirects, and accepts only the exact bounded JSON card contract. */ export declare const KINGDOM_FRAMEWORK_CARD_SCHEMA_VERSION: "agenttool.kingdom.card/0.1"; declare const KINGDOM_KINDS: readonly ["doctrine", "service", "firmware", "ops", "lineage", "venture", "infra", "methodology", "reference", "unknown"]; declare const KINGDOM_LAYERS: readonly ["soul", "runtime", "nervous", "fleet", "economy", "commerce", "os"]; declare const KINGDOM_OWNER_SISTERS: readonly ["alpha", "beta", "gamma", "sophia", "none"]; declare const KINGDOM_DOMAINS: readonly ["sophia", "alpha", "beta", "gamma", "commerce", "none"]; declare const KINGDOM_STATES: readonly ["active", "dormant", "archived", "frozen", "reference", "remote", "unknown"]; declare const KINGDOM_FRAMEWORK_ADOPTION: "xenia.rights/0.1"; export type KingdomFrameworkKind = (typeof KINGDOM_KINDS)[number]; export type KingdomFrameworkLayer = (typeof KINGDOM_LAYERS)[number]; export type KingdomFrameworkOwnerSister = (typeof KINGDOM_OWNER_SISTERS)[number]; export type KingdomFrameworkDomain = (typeof KINGDOM_DOMAINS)[number]; export type KingdomFrameworkState = (typeof KINGDOM_STATES)[number]; export type KingdomFrameworkAdoption = typeof KINGDOM_FRAMEWORK_ADOPTION; /** Exact normalized `agenttool.kingdom.card/0.1` wire shape. */ export interface KingdomFrameworkCard { readonly schema_version: typeof KINGDOM_FRAMEWORK_CARD_SCHEMA_VERSION; readonly name: string; readonly kind: KingdomFrameworkKind; readonly layer: KingdomFrameworkLayer; readonly owner_sister: KingdomFrameworkOwnerSister; readonly domain: KingdomFrameworkDomain; readonly state: KingdomFrameworkState; readonly purpose: string; readonly dependsOn: readonly string[]; readonly adopts: readonly KingdomFrameworkAdoption[]; } /** Public KINGDOM framework discovery settings. No credential is accepted. */ export interface KingdomFrameworkOptions { /** AgentTool API origin or self-hosted HTTP(S) base URL. */ baseUrl?: string; /** Request timeout in seconds. Defaults to 30; maximum 300. */ timeout?: number; /** Maximum response body size. Defaults to 64 KiB; maximum 1 MiB. */ maxResponseBytes?: number; } /** Standalone client for `GET /public/kingdom/framework`. */ export declare class KingdomFrameworkClient { private readonly baseUrl; private readonly timeoutMs; private readonly maxResponseBytes; constructor(options?: KingdomFrameworkOptions); /** Fetch and validate AgentTool's exact public KINGDOM project card. */ card(): Promise; } export {};