import { Command } from "commander"; import { z } from "zod"; export declare const CommonCommandOptions: z.ZodObject<{ apiUrl: z.ZodOptional; logLevel: z.ZodDefault>; skipTelemetry: z.ZodDefault; profile: z.ZodDefault; }, "strip", z.ZodTypeAny, { logLevel: "error" | "log" | "debug" | "info" | "warn" | "none"; skipTelemetry: boolean; profile: string; apiUrl?: string | undefined; }, { logLevel?: "error" | "log" | "debug" | "info" | "warn" | "none" | undefined; apiUrl?: string | undefined; skipTelemetry?: boolean | undefined; profile?: string | undefined; }>; export type CommonCommandOptions = z.infer; export declare function commonOptions(command: Command): Command; export declare class SkipLoggingError extends Error { } export declare class SkipCommandError extends Error { } export declare class OutroCommandError extends SkipCommandError { } export declare function handleTelemetry(action: () => Promise): Promise; export declare function wrapCommandAction(name: string, schema: T, options: unknown, action: (opts: z.output) => Promise): Promise; export declare const tracer: import("@opentelemetry/api").Tracer; export declare function installExitHandler(): void;