import { DestroyRef, Signal } from "@angular/core"; import type { AbstractAgent } from "@ag-ui/client"; import * as i0 from "@angular/core"; export declare class AgentStore { #private; readonly agent: AbstractAgent; readonly isRunning: Signal; readonly messages: Signal<({ role: "developer"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "system"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "assistant"; id: string; name?: string | undefined; content?: string | undefined; encryptedValue?: string | undefined; toolCalls?: { function: { name: string; arguments: string; }; type: "function"; id: string; encryptedValue?: string | undefined; }[] | undefined; } | { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "audio"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "video"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "document"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "binary"; mimeType: string; id?: string | undefined; data?: string | undefined; url?: string | undefined; filename?: string | undefined; })[]; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "tool"; toolCallId: string; content: string; id: string; encryptedValue?: string | undefined; error?: string | undefined; } | { role: "activity"; content: Record; id: string; activityType: string; } | { role: "reasoning"; content: string; id: string; encryptedValue?: string | undefined; })[]>; readonly state: Signal; constructor(abstractAgent: AbstractAgent, destroyRef: DestroyRef); teardown(): void; } export declare class CopilotkitAgentFactory { #private; createAgentStoreSignal(agentId: Signal, destroyRef: DestroyRef): Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare function injectAgentStore(agentId: string | Signal): Signal;