import log4js from 'log4js'; import { type Argv } from 'yargs'; import { type CLIConfig, type Profile } from '../cli-config.js'; import { type TableGenerator } from '../table-generator.js'; export type SmartThingsCommandFlags = { profile: string; verboseDirectoryLogging?: boolean; }; export declare const smartThingsCommandBuilder: (yargs: Argv) => Argv; type Dirs = { configDir: string; dataDir: string; logDir: string; }; /** * An interface version of SmartThingsCommand to make its contract easier to mix with other * interfaces and to limit what we need to mock for tests. */ export type SmartThingsCommand = Dirs & { flags: T; /** * The full configuration set, including both user-configured and cli-managed configuration * values and all profiles. Most often you will just want to use `profile` instead. */ cliConfig: CLIConfig; /** * The name of the in-use profile. */ profileName: string; /** * The configuration set for the selected profile. */ profile: Profile; tableGenerator: TableGenerator; logger: log4js.Logger; }; /** * Get config directories and copy old config files if they exist and there are no new ones. */ export declare const getConfigDirsCheckingForOldConfig: (options: { verboseLogging: boolean; }) => Promise; /** * A function to be called at the start of every CLI command that sets up shared things. */ export declare const smartThingsCommand: (flags: T) => Promise>; export {}; //# sourceMappingURL=smartthings-command.d.ts.map