export type AgentDesignSystemPurpose = "selected" | "reference"; export interface AgentDesignSystemContextAvailable { status: "available"; purpose?: AgentDesignSystemPurpose; scope: "summary" | "full"; id: string; title: string; agentContext: string; next?: string; } export interface AgentDesignSystemContextUnavailable { status: "unavailable"; purpose?: AgentDesignSystemPurpose; id: string; message: string; } export type AgentDesignSystemContext = AgentDesignSystemContextAvailable | AgentDesignSystemContextUnavailable; export interface AgentDesignSystemReader { run(args: { id: string; compact?: "true" | "false"; purpose?: AgentDesignSystemPurpose; }): unknown; } export declare function loadAgentDesignSystemContext(designSystemId: string | null | undefined, getDesignSystem: AgentDesignSystemReader, opts?: { full?: boolean; purpose?: AgentDesignSystemPurpose; }): Promise; export declare function formatAgentDesignSystemContext(context: AgentDesignSystemContext | null): string[];