import { Command } from '@oclif/core'; import type { Interfaces } from '@oclif/core'; import type { BalenaSDK } from 'balena-sdk'; import type { RegistrySecrets } from '@balena/compose/dist/multibuild'; declare enum BuildTarget { Cloud = 0, Device = 1 } type FlagsDef = Interfaces.InferredFlags; export default class PushCmd extends Command { static description: string; static examples: string[]; static args: { fleetOrDevice: Interfaces.Arg>; }; static flags: { source: Interfaces.OptionFlag; emulated: Interfaces.BooleanFlag; dockerfile: Interfaces.OptionFlag; nocache: Interfaces.BooleanFlag; pull: Interfaces.BooleanFlag; 'noparent-check': Interfaces.BooleanFlag; 'registry-secrets': Interfaces.OptionFlag; nolive: Interfaces.BooleanFlag; detached: Interfaces.BooleanFlag; service: Interfaces.OptionFlag; system: Interfaces.BooleanFlag; env: Interfaces.OptionFlag; 'noconvert-eol': Interfaces.BooleanFlag; 'multi-dockerignore': Interfaces.BooleanFlag; 'release-tag': Interfaces.OptionFlag; draft: Interfaces.BooleanFlag; note: Interfaces.OptionFlag; }; static primary: boolean; run(): Promise; protected pushToCloud(appNameOrSlug: string, options: FlagsDef, sdk: BalenaSDK, dockerfilePath: string, registrySecrets: RegistrySecrets): Promise; protected pushToDevice(localDeviceAddress: string, options: FlagsDef, dockerfilePath: string, registrySecrets: RegistrySecrets): Promise; protected getBuildTarget(appOrDevice: string): Promise; protected checkInvalidOptions(invalidOptions: Array, options: FlagsDef, errorMessage: string): void; } export {};