import { type Argv } from 'yargs'; import { type Authenticator, type HttpClientHeaders, type SmartThingsClient, type SmartThingsURLProvider } from '@smartthings/core-sdk'; import { type ClientIdProvider } from '../login-authenticator.js'; import { type SmartThingsCommand, type SmartThingsCommandFlags } from './smartthings-command.js'; export declare const userAgent = "@smartthings/cli"; export type URLProvider = SmartThingsURLProvider & Partial; export declare const urlProvidersByEnvironment: { [key: string]: URLProvider; }; export type APICommandFlags = SmartThingsCommandFlags & { environment?: string; token?: string; language?: string; }; export declare const apiCommandBuilder: (yargs: Argv) => Argv; export type APICommand = SmartThingsCommand & { environment: string; token?: string; urlProvider: SmartThingsURLProvider; authenticator: Authenticator; client: SmartThingsClient; }; /** * Base for commands that need to use Rest API via the SmartThings Core SDK. */ export declare const apiCommand: (flags: T, addAdditionalHeaders?: (stCommand: SmartThingsCommand, headers: HttpClientHeaders) => void) => Promise>; //# sourceMappingURL=api-command.d.ts.map