n8n
Version:
n8n Workflow Automation Tool
13 lines (12 loc) • 814 B
TypeScript
import type { AgentJsonConfig } from '@n8n/api-types';
import { type TelemetryEventDef } from '@n8n/telemetry';
import type { GenericValue } from 'n8n-workflow';
export declare function toolIdentifiersFromConfig(config: AgentJsonConfig | null): string[];
export declare function skillIdentifiersFromConfig(config: AgentJsonConfig | null): string[];
export declare function taskIdentifiersFromConfig(config: AgentJsonConfig | null): string[];
export interface BuilderConfigDiffEvent {
entry: TelemetryEventDef;
properties: Record<string, GenericValue>;
}
export declare function collectBuilderConfigDiffEvents(oldConfig: AgentJsonConfig | null, newConfig: AgentJsonConfig): BuilderConfigDiffEvent[];
export type BuilderTrackFn = (entry: TelemetryEventDef, properties: Record<string, GenericValue>) => void;