import { Command } from '@oclif/core'; import type { Application, BalenaSDK, Pine, Release } from 'balena-sdk'; import type { Preloader } from 'balena-preload'; declare const applicationExpandOptions: { readonly owns__release: { readonly $select: readonly ["id", "commit", "end_timestamp", "composition", "raw_version"]; readonly $expand: { readonly release_image: { readonly $select: readonly ["id"]; readonly $expand: { readonly image: { readonly $select: readonly ["image_size", "is_stored_at__image_location"]; }; }; }; }; readonly $filter: { readonly status: "success"; }; readonly $orderby: readonly [{ readonly end_timestamp: "desc"; }, { readonly id: "desc"; }]; }; readonly should_be_running__release: { readonly $select: "commit"; }; }; declare const getApplicationsWithBuildOptions: (deviceTypeSlug: string) => { readonly $select: readonly ["id", "slug", "should_track_latest_release"]; readonly $expand: { readonly owns__release: { readonly $select: readonly ["id", "commit", "end_timestamp", "composition", "raw_version"]; readonly $expand: { readonly release_image: { readonly $select: readonly ["id"]; readonly $expand: { readonly image: { readonly $select: readonly ["image_size", "is_stored_at__image_location"]; }; }; }; }; readonly $filter: { readonly status: "success"; }; readonly $orderby: readonly [{ readonly end_timestamp: "desc"; }, { readonly id: "desc"; }]; }; readonly should_be_running__release: { readonly $select: "commit"; }; }; readonly $filter: { readonly is_for__device_type: { readonly $any: { readonly $alias: "dt"; readonly $expr: { readonly dt: { readonly is_of__cpu_architecture: { readonly $any: { readonly $alias: "ioca"; readonly $expr: { readonly ioca: { readonly is_supported_by__device_type: { readonly $any: { readonly $alias: "isbdt"; readonly $expr: { readonly isbdt: { readonly slug: string; }; }; }; }; }; }; }; }; }; }; }; }; readonly owns__release: { readonly $any: { readonly $alias: "r"; readonly $expr: { readonly r: { readonly status: "success"; }; }; }; }; }; readonly $orderby: { readonly slug: "asc"; }; }; type ApplicationWithReleases = NonNullable>; type ApplicationsWithBuilds = Pine.OptionsToResponse, undefined>; export default class PreloadCmd extends Command { static description: string; static examples: string[]; static args: { image: import("@oclif/core/lib/interfaces").Arg>; }; static flags: { dockerPort: import("@oclif/core/lib/interfaces").OptionFlag; docker: import("@oclif/core/lib/interfaces").OptionFlag; dockerHost: import("@oclif/core/lib/interfaces").OptionFlag; ca: import("@oclif/core/lib/interfaces").OptionFlag; cert: import("@oclif/core/lib/interfaces").OptionFlag; key: import("@oclif/core/lib/interfaces").OptionFlag; fleet: import("@oclif/core/lib/interfaces").OptionFlag; commit: import("@oclif/core/lib/interfaces").OptionFlag; 'splash-image': import("@oclif/core/lib/interfaces").OptionFlag; 'dont-check-arch': import("@oclif/core/lib/interfaces").BooleanFlag; 'pin-device-to-release': import("@oclif/core/lib/interfaces").BooleanFlag; 'additional-space': import("@oclif/core/lib/interfaces").OptionFlag; 'add-certificate': import("@oclif/core/lib/interfaces").OptionFlag; }; static authenticated: boolean; static primary: boolean; run(): Promise; isCurrentCommit(commit: string): commit is "current" | "latest"; getApplicationsWithSuccessfulBuilds(deviceTypeSlug: string): Promise; selectApplication(deviceTypeSlug: string): Promise; selectApplicationCommit(releases: Pine.OptionsToResponse): Promise; offerToDisableAutomaticUpdates(application: Pick, commit: string, pinDevice: boolean | undefined): Promise; getAppWithReleases(balenaSdk: BalenaSDK, slug: string): Promise; prepareAndPreload(preloader: Preloader, balenaSdk: BalenaSDK, options: { slug?: string; commit?: string; pinDevice?: boolean; }): Promise; } export {};