import { r as CleanGeneratedTypesResult } from "./clean-types-g9ZeOUEE.cjs"; import { i as SyncTypesResult } from "./sync-types-BeBNRtAQ.cjs"; import { Command } from "@oclif/core"; type TypesStatusState = "current" | "missing" | "not-required" | "stale"; interface TypesStatusEntry { name: string; path: string; state: TypesStatusState; } interface TypesStatusResult { current: boolean; projectDirectory: string; scriptTypes: TypesStatusEntry & { minimumVersion?: string; version?: string; }; generatedTypes: TypesStatusEntry[]; } export interface TypecheckCommandResult { success: true; project: string; cartridgesDirectory: string; } declare abstract class CommerceKlausCommand extends Command { protected toErrorJson(error: unknown): { error: { exitCode: number; message: string; }; }; protected showCommandHelp(): Promise; } export declare class CleanTypesCommand extends CommerceKlausCommand { static description: string; static enableJsonFlag: boolean; static examples: string[]; static usage: string | string[] | undefined; static flags: { help: import("@oclif/core/interfaces").BooleanFlag; "dry-run": import("@oclif/core/interfaces").BooleanFlag; "project-directory": import("@oclif/core/interfaces").OptionFlag; }; run(): Promise; } export declare class TypecheckCommand extends CommerceKlausCommand { static description: string; static enableJsonFlag: boolean; static examples: string[]; static usage: string | string[] | undefined; static flags: { help: import("@oclif/core/interfaces").BooleanFlag; project: import("@oclif/core/interfaces").OptionFlag; "cartridges-dir": import("@oclif/core/interfaces").OptionFlag; "project-directory": import("@oclif/core/interfaces").OptionFlag; }; run(): Promise; } export interface SyncTypesCommandResult { success: true; projectDirectory: string; salesforce?: unknown; types: SyncTypesResult; } interface B2cInvocation { command: string; args: string[]; } export declare class SyncTypesCommand extends CommerceKlausCommand { static description: string; static enableJsonFlag: boolean; static examples: string[]; static usage: string | string[] | undefined; static flags: { help: import("@oclif/core/interfaces").BooleanFlag; force: import("@oclif/core/interfaces").BooleanFlag; "min-version": import("@oclif/core/interfaces").OptionFlag; output: import("@oclif/core/interfaces").OptionFlag; "site-template-path": import("@oclif/core/interfaces").OptionFlag; "project-directory": import("@oclif/core/interfaces").OptionFlag; }; protected prepareB2cInvocation(command: string, args: string[], _currentDirectory: string): B2cInvocation; run(): Promise; } export declare class TypesStatusCommand extends CommerceKlausCommand { static description: string; static enableJsonFlag: boolean; static examples: string[]; static usage: string | string[] | undefined; static flags: { help: import("@oclif/core/interfaces").BooleanFlag; "min-version": import("@oclif/core/interfaces").OptionFlag; "site-template-path": import("@oclif/core/interfaces").OptionFlag; "project-directory": import("@oclif/core/interfaces").OptionFlag; }; run(): Promise; } export {};