import { AuthTelemetryClient } from "../../../lib/auth/telemetry"; import { Telemetry } from "../../../lib/telemetry"; import type { AiSetup, TemplateName } from "./create-types"; export declare function aiSetupFromTemplate(template: TemplateName): AiSetup; export declare class CreateTelemetryClient extends Telemetry { static failedProperties(cancelled: boolean): Record; authClient(): AuthTelemetryClient; registerContext(props: Record): void; trackStarted(props: { interactive: boolean; has_name_arg: boolean; has_template_arg: boolean; has_backend_framework_arg: boolean; has_example_arg: boolean; has_api_key_arg: boolean; has_auth_arg: boolean; no_install: boolean; immediate_arg: boolean | undefined; }): void; trackAiSetupSelected(props: { template: string; ai_setup: string; }): void; trackBackendFrameworkSelected(props: { backend_framework: string; backend_framework_source: string; }): void; trackExampleSelected(props: { example: string; example_source: string; }): void; trackEnvResolutionStarted(props: { template?: string; ai_setup?: string; example?: string; }): void; trackSkillInstalled(props: { skill_installed: boolean; }): void; trackImmediateSelected(props: { immediate: boolean; dependency_install_requested: boolean; selection_source: string; }): void; trackScaffoldStarted(props: { template?: string; ai_setup?: string; example?: string; }): void; trackScaffoldFailed(props: Record): void; trackScaffoldSucceeded(props: { template?: string; ai_setup?: string; example?: string; }): void; trackEnvResolved(props: Record): void; trackCreateSucceeded(props: Record): void; trackDevCommandSkipped(props: { skip_reason: string; required_env?: string; }): void; trackDevCommandStarted(props: { package_manager: string; }): void; trackDevCommandStopped(props: { package_manager: string; duration_ms: number; exit_code: number | null; failure_signal: NodeJS.Signals | null; }): void; trackDevCommandFailed(props: Record): void; trackCloudAuthStarted(props: { auth_method?: string; }): void; trackCloudAuthMethod(props: { auth_method: string; auth_succeeded: boolean; }): void; trackCloudAuthCancelled(props: Record): void; trackCloudAuthFailed(props: Record): void; trackDependencyInstallSkipped(props: { skip_reason: string; }): void; trackDependencyInstallStarted(props: { template: string; ai_setup: string; }): void; trackDependencyInstallSucceeded(props: { template: string; ai_setup: string; dependency_installed: boolean; }): void; trackDependencyInstallCancelled(props: Record): void; trackDependencyInstallFailed(props: Record): void; trackSkillInstallStarted(props: { skill_installed: boolean; }): void; trackSkillInstallFinished(props: { skill_installed: boolean; duration_ms: number; exit_code: number | null; }): void; trackSkillInstallCancelled(props: Record): void; trackSkillInstallFailed(props: Record): void; trackTargetNameRetried(props: { retries: number; }): void; trackTargetExists(props: { interactive: boolean; attempt: number; exhausted: boolean; error_code: string; }): void; } //# sourceMappingURL=telemetry.d.ts.map