import type { TelemetryClient } from "./client.js"; import type { EventDimensionsMap } from "./generated/paperclip-telemetry.js"; type RawDimension = T | (string & {}); export declare function trackInstallStarted(client: TelemetryClient): void; export declare function trackInstallCompleted(client: TelemetryClient, dims: { adapterType: RawDimension; }): void; export declare function trackCompanyImported(client: TelemetryClient, dims: { sourceType: RawDimension; sourceRef: string; isPrivate: boolean; }): void; export declare function trackProjectCreated(client: TelemetryClient): void; export declare function trackRoutineCreated(client: TelemetryClient): void; export declare function trackRoutineRun(client: TelemetryClient, dims: { source: RawDimension; status: RawDimension; }): void; export declare function trackGoalCreated(client: TelemetryClient, dims?: { goalLevel?: RawDimension | null; }): void; export declare function trackAgentCreated(client: TelemetryClient, dims: { agentRole: RawDimension; agentId: string; }): void; export declare function trackSkillImported(client: TelemetryClient, dims: { sourceType: RawDimension; skillRef?: string | null; }): void; export declare function trackAgentFirstHeartbeat(client: TelemetryClient, dims: { agentRole: RawDimension; agentId: string; }): void; export declare function trackAgentTaskCompleted(client: TelemetryClient, dims: { agentRole: RawDimension; agentId: string; adapterType: RawDimension; model?: string; taskId?: string; }): void; export declare function trackAgentTaskRun(client: TelemetryClient, dims: { agentId: string; state: RawDimension; adapterType?: RawDimension; agentRole?: RawDimension; model?: string; durationSeconds?: number; inputTokens?: number; outputTokens?: number; cachedTokens?: number; taskId?: string; }): void; export declare function trackConnectionCreated(client: TelemetryClient, dims: { connector_key: RawDimension<"custom">; transport: RawDimension<"mcp_remote" | "rest_api" | "local_stdio">; auth_kind: RawDimension<"oauth" | "api_key" | "none">; setup_flow: RawDimension<"gallery" | "api" | "example">; status: RawDimension<"draft" | "active" | "disabled" | "archived">; enabled: boolean; }): void; export declare function trackConnectionUpdated(client: TelemetryClient, dims: { connector_key: RawDimension<"custom">; transport: RawDimension<"mcp_remote" | "rest_api" | "local_stdio">; auth_kind: RawDimension<"oauth" | "api_key" | "none">; change_source: RawDimension<"api" | "gallery" | "oauth_callback" | "credential_refresh" | "archive" | "example">; previous_status: RawDimension<"draft" | "active" | "disabled" | "archived">; status: RawDimension<"draft" | "active" | "disabled" | "archived">; previous_enabled: boolean; enabled: boolean; }): void; export declare function trackConnectionInvoked(client: TelemetryClient, dims: { connector_key: RawDimension<"custom">; transport: RawDimension<"mcp_remote" | "rest_api" | "local_stdio">; status: RawDimension<"succeeded" | "failed" | "denied" | "cancelled" | "timed_out" | "rate_limited">; origin: RawDimension<"setup_test" | "agent" | "user" | "system" | "plugin">; duration_seconds?: number; }): void; export declare function trackErrorHandlerCrash(client: TelemetryClient, dims: { errorCode: string; }): void; export declare function trackInteractionCreated(client: TelemetryClient, dims: { interactionKind: RawDimension; usedDeprecatedResolverPolicyAlias: boolean; }): void; export declare function trackInteractionResolved(client: TelemetryClient, dims: { interactionKind: RawDimension; status: RawDimension; resolvedByKind: RawDimension; resolutionReason?: RawDimension | null; createdByKind?: RawDimension | null; creatorAgentRole?: RawDimension | null; continuationPolicy?: RawDimension | null; targetType?: RawDimension | null; optionCount?: number; selectedOptionCount?: number; questionCount?: number; answeredQuestionCount?: number; createdTaskCount?: number; skippedTaskCount?: number; legacyInheritedRestriction: boolean; }): void; export {}; //# sourceMappingURL=events.d.ts.map