import { z } from "zod"; import type { AppDefinition } from "./types/app-definition.js"; export declare const CONNECTION_INSTRUCTIONS_MAX_LENGTH = 2000; /** Optional catalog capability. It is independent of provider and transport. */ export declare const connectionInstructionTemplateSchema: z.ZodObject<{ id: z.ZodString; version: z.ZodNumber; text: z.ZodString; }, z.core.$strip>; export type ConnectionInstructionTemplate = z.infer; /** Connection-owned settings; custom connections need not have a template. */ export declare const connectionAgentInstructionsSchema: z.ZodObject<{ enabled: z.ZodBoolean; text: z.ZodString; template: z.ZodOptional>; }, z.core.$strip>; export type ConnectionAgentInstructions = z.infer; export declare function defaultConnectionAgentInstructions(template: ConnectionInstructionTemplate | null | undefined): ConnectionAgentInstructions | null; /** The server supplies this immutable snapshot, never the wake request author. */ export interface ConnectionInstructionsSnapshot { text: string; digest: string; } /** Older connections can retain catalog metadata only in transportConfig. */ export declare function connectionInstructionsConfig(connection: { config?: Record | null; transportConfig?: Record | null; }): Record; /** Only public configuration fields declared by the connector enter prompts. */ export declare function connectionInstructionContext(app: AppDefinition | null | undefined, config: Record): Record | null; //# sourceMappingURL=connection-instructions.d.ts.map