/** * Gateway Method Schemas * * JSON Schema definitions for every built-in method's params and response. * Error code catalog. Event type catalog (derived from shared arrays). * * A client in any language can build a full SDK from the schema response alone. */ import type { AgentickErrorCode } from "@agentick/shared"; type JSONSchema = Record; export interface MethodSchema { description: string; params?: JSONSchema; response?: JSONSchema; errors?: string[]; } export declare const BUILT_IN_METHOD_SCHEMAS: Map; type GatewayErrorCode = "METHOD_ERROR" | "INTERNAL_ERROR"; export type ProtocolErrorCode = AgentickErrorCode | GatewayErrorCode; export declare const PROTOCOL_ERROR_CODES: Record; export declare const GATEWAY_EVENT_TYPES: readonly ["channel", "method:chunk", "method:end", "config:changed"]; type EventCategory = "model" | "orchestration" | "result" | "gateway"; export interface EventSchemaEntry { type: string; category: EventCategory; } export declare const GATEWAY_EVENTS: EventSchemaEntry[]; export {}; //# sourceMappingURL=method-schemas.d.ts.map