import { z, ZodType } from "zod"; import { SentryCommand } from "../types/index.js"; export declare const AnalyzeCommandConfigSchema: z.ZodObject<{ exclude: z.ZodOptional>; designSystemId: z.ZodOptional; package: z.ZodOptional]>>; dryRun: z.ZodOptional; includeAllProps: z.ZodOptional; noWait: z.ZodOptional; suppressDryRunNotice: z.ZodOptional; wizard: z.ZodOptional; }, "strip", z.ZodTypeAny, { includeAllProps?: boolean | undefined; designSystemId?: string | undefined; dryRun?: boolean | undefined; exclude?: string[] | undefined; package?: string | string[] | undefined; noWait?: boolean | undefined; suppressDryRunNotice?: boolean | undefined; wizard?: boolean | undefined; }, { includeAllProps?: boolean | undefined; designSystemId?: string | undefined; dryRun?: boolean | undefined; exclude?: string[] | undefined; package?: string | string[] | undefined; noWait?: boolean | undefined; suppressDryRunNotice?: boolean | undefined; wizard?: boolean | undefined; }>; export type AnalyzeCommandConfig = z.infer; export type ScannerType = "all" | "components" | "usage"; type UploadScannerType = Exclude; export type AnalyzeTarget = { importFrom: string | string[]; rootDir: string; }; type ComponentUsageSnapshot = { meta?: { importFromPackages?: string[]; }; packages?: Record; }>; }; export declare const analyzeFlags: { designSystemId: import("@oclif/core/interfaces").OptionFlag; package: import("@oclif/core/interfaces").OptionFlag; exclude: import("@oclif/core/interfaces").OptionFlag; dryRun: import("@oclif/core/interfaces").BooleanFlag; includeAllProps: import("@oclif/core/interfaces").BooleanFlag; noWait: import("@oclif/core/interfaces").BooleanFlag; suppressDryRunNotice: import("@oclif/core/interfaces").BooleanFlag; wizard: import("@oclif/core/interfaces").BooleanFlag; }; export type AnalyzeResult = "completed" | "retry-packages"; export type SelectedDesignSystem = { id: string; name: string; workspaceId: string; workspacePlan: string; }; export declare abstract class AnalyzeCommandBase extends SentryCommand { get commandId(): string; get configSchema(): ZodType; private logStepHeader; protected isWizardMode(flags: AnalyzeCommandConfig): boolean; protected promptIntro(): Promise; protected promptDesignSystemWizard(): Promise; protected promptSourceScanIntro(): Promise<{ name: string; relativePath: string; }[]>; protected promptPackageSelection(discovered: { name: string; relativePath: string; }[]): Promise; protected promptScanScope(): Promise<"all" | "select">; protected promptExcludePackageSelection(discovered: { name: string; relativePath: string; }[]): Promise; private createAuthenticatedApiClient; protected executeAnalyze(flags: AnalyzeCommandConfig, scannerType: ScannerType, wizardMode?: boolean, selectedDesignSystem?: SelectedDesignSystem): Promise; protected fetchDesignSystemById(designSystemId: string): Promise; private buildAdoptionUrl; private printAnalysisComplete; private persistAnalyzeConfig; private uploadSnapshot; private uploadSnapshotsWithConcurrency; private startProcessingRun; private createArchiveFromSnapshotRoot; private logHttpError; } export declare function countUsageRecordsFromSnapshotPayload(usageJson: ComponentUsageSnapshot): number; export declare function resolveAnalyzeTarget(input: { importFrom: string | string[]; rootDir: string; scannerType: UploadScannerType; }): AnalyzeTarget | null; export {}; //# sourceMappingURL=analyze-command.d.ts.map