/** Browser-only bridge for an application card inside the platform's isolated iframe. */ export declare const AGENT_CARD_PROTOCOL = "openxiangda.agent-card/v1"; export interface AgentCardField { path: string; label: string; control: 'text' | 'textarea' | 'select'; help?: string; } export interface AgentCardState { mode: 'input' | 'result'; title: string; appName: string; fields?: AgentCardField[]; partialInput?: Record; resultFields?: { label: string; value: string; }[]; status?: string; } export declare function connectAgentCard(onState: (state: AgentCardState) => void): { options: (field: string, keyword?: string) => Promise<{ items: { value: string; label: string; }[]; }>; submit: (input: Record) => Promise<{ accepted: boolean; }>; resize: () => void; disconnect: () => void; }; //# sourceMappingURL=agent-card.d.ts.map