import { OnInit, OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
import { CopilotKit } from "../copilotkit";
import type { Context } from "@ag-ui/client";
import * as i0 from "@angular/core";
/**
* Directive to manage agent context in CopilotKit.
* Automatically adds context on init, updates on changes, and removes on destroy.
*
* @example
* ```html
*
*
*
*
*
*
*
*
*
*
*
* ```
*/
export declare class CopilotKitAgentContext implements OnInit, OnChanges, OnDestroy {
private readonly copilotkit;
private contextId?;
constructor(copilotkit: CopilotKit);
/**
* Context object containing both description and value.
* If provided, this takes precedence over individual inputs.
*/
context?: Context;
/**
* Description of the context.
* Used when context object is not provided.
*/
description?: string;
/**
* Value of the context.
* Used when context object is not provided.
*/
value?: any;
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
/**
* Adds the context to CopilotKit
*/
private addContext;
/**
* Updates the context by removing the old one and adding a new one
*/
private updateContext;
/**
* Removes the current context from CopilotKit
*/
private removeContext;
/**
* Gets the context object from inputs
*/
private getContext;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}