import { IconName } from '@grafana/ui'; import { ItemDataType, type ContextItemData } from './types'; export interface BaseParams { title?: string; hidden?: boolean; img?: string; icon?: IconName; /** * When true, bypasses size limits for fixed-size content that doesn't need truncation. * * Set `bypassLimits: true` for fixed-size content like: * - Static instructions or prompts * - Configuration that doesn't change * - Small, bounded metadata * * Keep `bypassLimits: false` (default) for variable-size content like: * - Query results, data tables, graphs * - User-generated content, logs * - Any content that could grow unexpectedly large * * @default false */ bypassLimits?: boolean; } export interface NodeDataParams extends BaseParams { id: string; type: ItemDataType; text?: string; } export declare class NodeData { params: NodeDataParams; id: string; text: string; type: ItemDataType; constructor(params: NodeDataParams); /** Whether size limits should be bypassed for this context item. Defaults to false. */ get bypassLimits(): boolean; formatForLLM(codeElementIds?: string[]): ContextItemData; equals(other: unknown): boolean; } export interface StructuredNodeDataParams extends BaseParams { data: Record; } export declare class StructuredNodeData extends NodeData { data: Record; constructor(params: StructuredNodeDataParams); formatForLLM(codeElementIds?: string[]): ContextItemData; } //# sourceMappingURL=base.d.ts.map