import type { InjectedDependenciesParam, InjectedOptionsParam } from '..'; declare const _default: (deps: InjectedDependenciesParam, opts: InjectedOptionsParam) => { application: { _getId: (slugOrUuidOrId: string | number) => Promise; getDashboardUrl(id: number): string; getAll>(options?: T, context?: "directly_accessible"): Promise>; getAllDirectlyAccessible>(options?: T): Promise>; getAllByOrganization>(orgHandleOrId: number | string, options?: T): Promise>; get>(slugOrUuidOrId: string | number, options?: T, context?: "directly_accessible"): Promise[number]>; getDirectlyAccessible>(slugOrUuidOrId: string | number, options?: T): Promise[number]>; getWithDeviceServiceDetails>(slugOrUuidOrId: string | number, options?: T): Promise; application_environment_variable?: Array; application__has__config_var_name?: Array; application_config_variable?: Array; application__has__service_name?: Array; service?: Array; application__has__tag_key?: Array; application_tag?: Array; application__has__domain?: Array; application_domain_mapping?: Array; application__has__build_var_name?: Array; build_environment_variable?: Array; owns__device?: Array; owns__release?: Array; owns__public_device?: Array; team__grants_access_to__application?: Array; team_application_access?: Array; is_accessible_by__team?: Array; user__is_member_of__application?: Array; user_application_membership?: Array; includes__user?: Array; includes__user__is_member_of__application?: Array; includes__user_application_membership?: Array; invitee__is_invited_to__application?: Array; application_invite?: Array; invitee?: Array; is_directly_accessible_by__user?: Array; can_use__application_as_host?: Array; }, import("../util").MergePineOptions<{ created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"]; id: import("@balena/sbvr-types").Types["Integer"]["Read"]; actor: { __id: import("..").Actor["Read"]["id"]; } | [import("..").Actor["Read"]]; should_track_latest_release: import("@balena/sbvr-types").Types["Boolean"]["Read"]; is_of__class: "fleet" | "block" | "app"; organization: { __id: import("..").Organization["Read"]["id"]; } | [import("..").Organization["Read"]]; app_name: import("@balena/sbvr-types").Types["Text"]["Read"]; slug: import("@balena/sbvr-types").Types["Short Text"]["Read"]; is_for__device_type: { __id: import("..").DeviceType["Read"]["id"]; } | [import("..").DeviceType["Read"]]; should_be_running__release: { __id: import("..").Release["Read"]["id"]; } | [import("..").Release["Read"]] | [] | null; application_type: { __id: import("..").ApplicationType["Read"]["id"]; } | [import("..").ApplicationType["Read"]]; is_host: import("@balena/sbvr-types").Types["Boolean"]["Read"]; is_archived: import("@balena/sbvr-types").Types["Boolean"]["Read"]; uuid: import("@balena/sbvr-types").Types["Text"]["Read"]; is_public: import("@balena/sbvr-types").Types["Boolean"]["Read"]; is_accessible_by_support_until__date: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null; is_discoverable: import("@balena/sbvr-types").Types["Boolean"]["Read"]; is_stored_at__repository_url: import("@balena/sbvr-types").Types["Text"]["Read"] | null; application__has__env_var_name?: Array; application_environment_variable?: Array; application__has__config_var_name?: Array; application_config_variable?: Array; application__has__service_name?: Array; service?: Array; application__has__tag_key?: Array; application_tag?: Array; application__has__domain?: Array; application_domain_mapping?: Array; application__has__build_var_name?: Array; build_environment_variable?: Array; owns__device?: Array; owns__release?: Array; owns__public_device?: Array; team__grants_access_to__application?: Array; team_application_access?: Array; is_accessible_by__team?: Array; user__is_member_of__application?: Array; user_application_membership?: Array; includes__user?: Array; includes__user__is_member_of__application?: Array; includes__user_application_membership?: Array; invitee__is_invited_to__application?: Array; application_invite?: Array; invitee?: Array; is_directly_accessible_by__user?: Array; can_use__application_as_host?: Array; }, { readonly $expand: { readonly owns__device: { readonly $expand: { readonly image_install: { readonly $select: readonly ["id", "download_progress", "status", "install_date"]; readonly $filter: { readonly status: { readonly $ne: "deleted"; }; }; readonly $expand: { readonly installs__image: { readonly $select: readonly ["id"]; readonly $expand: { readonly is_a_build_of__service: { readonly $select: readonly ["id", "service_name"]; }; }; }; readonly is_provided_by__release: { readonly $select: readonly ["id", "commit", "raw_version"]; readonly $expand: { readonly belongs_to__application: { readonly $select: readonly ["slug"]; }; }; }; }; }; }; }; }; }, T>, string | number> & { owns__device: import("..").DeviceWithServiceDetails[]; }>; getAppByName>(appName: string, options?: T, context?: "directly_accessible"): Promise[number]>; has: (slugOrUuidOrId: string | number) => Promise; hasAny: () => Promise; create({ name, uuid, applicationClass, deviceType, organization, }: { name: string; uuid?: string; applicationClass?: "app" | "fleet" | "block"; deviceType: string; organization: number | string; }): Promise; application_environment_variable?: Array; application__has__config_var_name?: Array; application_config_variable?: Array; application__has__service_name?: Array; service?: Array; application__has__tag_key?: Array; application_tag?: Array; application__has__domain?: Array; application_domain_mapping?: Array; application__has__build_var_name?: Array; build_environment_variable?: Array; owns__device?: Array; owns__release?: Array; owns__public_device?: Array; team__grants_access_to__application?: Array; team_application_access?: Array; is_accessible_by__team?: Array; user__is_member_of__application?: Array; user_application_membership?: Array; includes__user?: Array; includes__user__is_member_of__application?: Array; includes__user_application_membership?: Array; invitee__is_invited_to__application?: Array; application_invite?: Array; invitee?: Array; is_directly_accessible_by__user?: Array; can_use__application_as_host?: Array; }>>; remove: (slugOrUuidOrIdOrIds: string | number | number[]) => Promise; rename: (slugOrUuidOrId: string | number, newAppName: string) => Promise; restart: (slugOrUuidOrId: string | number) => Promise; generateProvisioningKey: ({ slugOrUuidOrId, keyExpiryDate, keyName, keyDescription, }: { slugOrUuidOrId: string | number; keyExpiryDate: string | null; keyName?: string; keyDescription?: string; }) => Promise; purge: (appId: number) => Promise; shutdown: (appId: number, options?: { force?: boolean; }) => Promise; reboot: (appId: number, options?: { force?: boolean; }) => Promise; willTrackNewReleases: (slugOrUuidOrId: string | number) => Promise; isTrackingLatestRelease: (slugOrUuidOrId: string | number) => Promise; pinToRelease: (slugOrUuidOrId: string | number, fullReleaseHash: string) => Promise; getTargetReleaseHash: (slugOrUuidOrId: string | number) => Promise; trackLatestRelease: (slugOrUuidOrId: string | number) => Promise; enableDeviceUrls: (slugOrUuidOrId: string | number) => Promise; disableDeviceUrls: (slugOrUuidOrId: string | number) => Promise; grantSupportAccess(slugOrUuidOrId: string | number, expiryTimestamp: number): Promise; revokeSupportAccess: (slugOrUuidOrId: string | number) => Promise; tags: { getAllByApplication: >(parentParam: string | number | Record, options?: O | undefined) => Promise>; set: (parentParam: string | number | Record, key: string, value: string) => Promise; remove: (parentParam: string | number | Record, key: string) => Promise; }; configVar: { getAllByApplication: >(parentParam: string | number | Record, options?: O | undefined) => Promise>; get: (parentParam: string | number | Record, key: string) => Promise; set: (parentParam: string | number | Record, key: string, value: string) => Promise; remove: (parentParam: string | number | Record, key: string) => Promise; }; envVar: { getAllByApplication: >(parentParam: string | number | Record, options?: O | undefined) => Promise>; get: (parentParam: string | number | Record, key: string) => Promise; set: (parentParam: string | number | Record, key: string, value: string) => Promise; remove: (parentParam: string | number | Record, key: string) => Promise; }; buildVar: { getAllByApplication: >(parentParam: string | number | Record, options?: O | undefined) => Promise>; get: (parentParam: string | number | Record, key: string) => Promise; set: (parentParam: string | number | Record, key: string, value: string) => Promise; remove: (parentParam: string | number | Record, key: string) => Promise; }; membership: { get>(membershipId: number | import("pinejs-client-core").ResourceAlternateKey>, options?: T): Promise[number]>; getAllByApplication>(slugOrUuidOrId: number | string, options?: T): Promise>; getAllByUser>(usernameOrId: number | string, options?: T): Promise>; create({ application, username, roleName, }: import("./application-membership").ApplicationMembershipCreationOptions): Promise>; changeRole(idOrUniqueKey: number | import("pinejs-client-core").ResourceAlternateKey>, roleName: import("..").ApplicationMembershipRole["Read"]["name"]): Promise; remove(idOrUniqueKey: number | import("pinejs-client-core").ResourceAlternateKey>): Promise; }; invite: { getAll>(options?: T): Promise>; getAllByApplication>(slugOrUuidOrId: number | string, options?: T): Promise>; create(slugOrUuidOrId: string | number, { invitee, roleName, message }: import("./application-invite").ApplicationInviteOptions): Promise>; revoke(id: number): Promise; accept(invitationToken: string): Promise; }; }; device: { getSupervisorTargetState: (uuidOrId: string | number, version?: 2 | 3) => Promise; getSupervisorTargetStateForApp: (slugOrUuidOrId: string | number, release?: string | number) => Promise; generateUniqueKey(): string; register(applicationSlugOrUuidOrId: string | number, uuid: string, deviceTypeSlug?: string): Promise<{ id: number; uuid: string; api_key: string; }>; generateDeviceKey: (uuidOrId: string | number, keyName?: string, keyDescription?: string, keyExpiryDate?: string) => Promise; hasDeviceUrl: (uuidOrId: string | number) => Promise; getDeviceUrl: (uuidOrId: string | number) => Promise; enableDeviceUrl: (uuidOrIdOrArray: string | string[] | number | number[]) => Promise; disableDeviceUrl: (uuidOrIdOrArray: string | string[] | number | number[]) => Promise; enableLocalMode(uuidOrId: string | number): Promise; disableLocalMode: (uuidOrId: string | number) => Promise; isInLocalMode: (uuidOrId: string | number) => Promise; getLocalModeSupport: (device: import("../../typings/utils").AtLeast) => { supported: boolean; message: string; }; enableLockOverride: (uuidOrId: string | number) => Promise; disableLockOverride: (uuidOrId: string | number) => Promise; hasLockOverride: (uuidOrId: string | number) => Promise; getStatus(uuidOrId: string | number): Promise; getProgress(uuidOrId: string | number): Promise; grantSupportAccess(uuidOrIdOrArray: string | string[] | number | number[], expiryTimestamp: number): Promise; revokeSupportAccess: (uuidOrIdOrArray: string | string[] | number | number[]) => Promise; getOsVersion: (device: import("../../typings/utils").AtLeast) => string; isTrackingApplicationRelease: (uuidOrId: string | number) => Promise; getTargetReleaseHash: (uuidOrId: string | number) => Promise; pinToRelease: (uuidOrIdOrArray: string | string[] | number | number[], fullReleaseHashOrId: string | number) => Promise; trackApplicationRelease: (uuidOrIdOrArray: string | string[] | number | number[]) => Promise; pinToSupervisorRelease: (uuidOrIdOrArray: string | string[] | number | number[], supervisorVersionOrId: string | number) => Promise; _checkOsUpdateTarget({ uuid, is_of__device_type, os_version, os_variant, }: Pick & { is_of__device_type: [Pick]; }, targetOsRelease: Pick, mode: "start" | "pin"): void; startOsUpdate: { (uuidOrUuids: string, targetOsVersion: string, options?: { runDetached?: boolean; }): Promise; (uuidOrUuids: string[], targetOsVersion: string, options?: { runDetached?: boolean; }): Promise>; }; pinToOsRelease(uuidOrIdOrArray: string | string[] | number | number[], osVersionOrId: string | number): Promise; tags: { getAllByApplication>(slugOrUuidOrId: string | number, options?: T): Promise>; getAllByDevice: >(parentParam: string | number | Record, options?: O | undefined) => Promise>; set: (parentParam: string | number | Record, key: string, value: string) => Promise; remove: (parentParam: string | number | Record, key: string) => Promise; }; configVar: { getAllByDevice: >(parentParam: string | number | Record, options?: O | undefined) => Promise>; getAllByApplication>(slugOrUuidOrId: string | number, options?: T): Promise>; get: (parentParam: string | number | Record, key: string) => Promise; set: (parentParam: string | number | Record, key: string, value: string) => Promise; remove: (parentParam: string | number | Record, key: string) => Promise; }; envVar: { getAllByDevice: >(parentParam: string | number | Record, options?: O | undefined) => Promise>; getAllByApplication>(slugOrUuidOrId: string | number, options?: T): Promise>; get: (parentParam: string | number | Record, key: string) => Promise; set: (parentParam: string | number | Record, key: string, value: string) => Promise; remove: (parentParam: string | number | Record, key: string) => Promise; }; serviceVar: { getAllByDevice>(uuidOrId: string | number, options?: T): Promise>; getAllByApplication>(slugOrUuidOrId: string | number, options?: T): Promise>; get(uuidOrId: string | number, serviceNameOrId: string | number, key: string): Promise; set(uuidOrId: string | number, serviceNameOrId: string | number, key: string, value: string): Promise; remove(uuidOrId: string | number, serviceNameOrId: string | number, key: string): Promise; }; history: { getAllByDevice>(uuidOrId: string | number, { fromDate, toDate, }?: import("./device").DateFilters, options?: T): Promise>; getAllByApplication>(slugOrUuidOrId: string | number, { fromDate, toDate, }?: import("./device").DateFilters, options?: T): Promise>; }; ping: (uuidOrId: string | number) => Promise; identify: (uuidOrId: string | number) => Promise; restartApplication: (uuidOrId: string | number) => Promise; reboot: (uuidOrId: string | number, options?: { force?: boolean; }) => Promise; shutdown: (uuidOrId: string | number, options: { force?: boolean; }) => Promise; purge: (uuidOrId: string | number) => Promise; update(uuidOrId: string | number, options: { force?: boolean; }): Promise; getSupervisorState: (uuidOrId: string | number) => Promise; startService: (uuidOrId: string | number, imageId: number) => Promise; stopService: (uuidOrId: string | number, imageId: number) => Promise; restartService: (uuidOrId: string | number, imageId: number) => Promise; OverallStatus: typeof import("..").OverallStatus; getDashboardUrl(uuid: string): string; getAllByApplication>(slugOrUuidOrId: string | number, options?: T): Promise>; getAllByOrganization>(handleOrId: string | number, options?: T): Promise>; get>(uuidOrId: string | number, options?: T): Promise[number]>; getWithServiceDetails>(uuidOrId: string | number, options?: T): Promise, typeof uuidOrId>> & { current_services_by_app: Record>; }>; getByName>(name: string, options?: T): Promise>; getName: (uuidOrId: string | number) => Promise; getApplicationName: (uuidOrId: string | number) => Promise; has: (uuidOrId: string | number) => Promise; isOnline: (uuidOrId: string | number) => Promise; getLocalIPAddresses: (uuidOrId: string | number) => Promise; getMACAddresses: (uuidOrId: string | number) => Promise; getMetrics: (uuidOrId: string | number) => Promise; remove: (uuidOrIdOrArray: string | string[] | number | number[]) => Promise; deactivate: (uuidOrIdOrArray: string | string[] | number | number[]) => Promise; rename: (uuidOrId: string | number, newName: string) => Promise; setNote: (uuidOrIdOrArray: string | string[] | number | number[], note: string) => Promise; setCustomLocation: (uuidOrIdOrArray: string | string[] | number | number[], location: { latitude: string | number; longitude: string | number; }) => Promise; unsetCustomLocation: (uuidOrIdOrArray: string | string[] | number | number[]) => Promise; move: (uuidOrIdOrArray: string | string[] | number | number[], applicationSlugOrUuidOrId: string | number) => Promise; }; deviceType: { get>(idOrSlug: number | string, options?: T): Promise[number]>; getAll>(options?: T): Promise>; getAllSupported>(options?: T): Promise>; getBySlugOrName: >(slugOrName: string, options?: T) => Promise[number]>; getName: (deviceTypeSlug: string) => Promise; getSlugByName: (deviceTypeName: string) => Promise; getInterpolatedPartials: (deviceTypeSlug: string) => Promise; getInstructions: (deviceTypeSlugOrContract: string | import("..").Contract | NonNullable) => Promise | string[]>; getInstallMethod: (deviceTypeSlug: string) => Promise; }; apiKey: { create({ name, expiryDate, description, }: { name: string; expiryDate: string | null; description?: string | null; }): Promise; getAll>(options?: T): Promise>; getAllNamedUserApiKeys>(options?: T): Promise>; getProvisioningApiKeysByApplication>(slugOrUuidOrId: string | number, options?: T): Promise>; getDeviceApiKeysByDevice>(uuidOrId: string | number, options?: T): Promise>; update(id: number, apiKeyInfo: { name?: string; description?: string | null; expiryDate?: string | null; }): Promise; revoke(id: number): Promise; }; key: { getAll: >(options?: T) => Promise>; get: (id: number) => Promise>; remove: (id: number) => Promise; create: (title: string, key: string) => Promise>; }; organization: { create: (organization: Partial) => Promise; organization_membership?: Array; includes__user?: Array; includes__user__is_member_of__organization?: Array; includes__organization_membership?: Array; includes__organization__is_authorized_by__identity_provider?: Array; includes__identity_provider_membership?: Array; organization__has_private_access_to__device_type?: Array; organization__owns_credit_notification_for__feature?: Array; organization_credit_notification?: Array; organization__is_authorized_by__identity_provider?: Array; identity_provider_membership?: Array; is_of__application?: Array; is_of__organization__is_authorized_by__identity_provider?: Array; is_of__identity_provider_membership?: Array; application?: Array; owns__team?: Array; owns__credit_bundle?: Array; invitee__is_invited_to__organization?: Array; organization_invite?: Array; invitee?: Array; includes_legacy_link_to__user?: Array; has_private_access_to__device_type?: Array; owns_credit_notification_for__feature?: Array; subscription?: Array; is_authorized_by__identity_provider?: Array; }>>; getAll: >(options?: T) => Promise>; get: >(handleOrId: string | number, options?: T) => Promise[number]>; remove: (handleOrId: string | number) => Promise; membership: { get>(membershipId: number | import("pinejs-client-core").ResourceAlternateKey; organization_membership__has__tag_key?: Array; organization_membership_tag?: Array; organization: { __id: import("..").Organization["Read"]["id"]; } | [import("..").Organization["Read"]]; includes__user: { __id: import("..").User["Read"]["id"]; } | [import("..").User["Read"]]; }, "user" | "is_member_of__organization">>, options?: T): Promise[number]>; getAllByOrganization>(handleOrId: number | string, options?: T): Promise>; getAllByUser>(usernameOrId: number | string, options?: T): Promise>; changeRole(idOrUniqueKey: number | import("pinejs-client-core").ResourceAlternateKey; organization_membership__has__tag_key?: Array; organization_membership_tag?: Array; organization: { __id: import("..").Organization["Read"]["id"]; } | [import("..").Organization["Read"]]; includes__user: { __id: import("..").User["Read"]["id"]; } | [import("..").User["Read"]]; }, "user" | "is_member_of__organization">>, roleName: import("..").OrganizationMembershipRole["Read"]["name"]): Promise; remove(idOrUniqueKey: number | import("pinejs-client-core").ResourceAlternateKey; organization_membership__has__tag_key?: Array; organization_membership_tag?: Array; organization: { __id: import("..").Organization["Read"]["id"]; } | [import("..").Organization["Read"]]; includes__user: { __id: import("..").User["Read"]["id"]; } | [import("..").User["Read"]]; }, "user" | "is_member_of__organization">>): Promise; tags: { getAllByOrganization>(handleOrId: string | number, options?: T): Promise>; getAllByOrganizationMembership: >(parentParam: string | number | Record, options?: O | undefined) => Promise>; set: (parentParam: string | number | Record, key: string, value: string) => Promise; remove: (parentParam: string | number | Record, key: string) => Promise; }; }; invite: { getAll>(options?: T): Promise>; getAllByOrganization>(handleOrId: number | string, options?: T): Promise>; create(handleOrId: string | number, { invitee, roleName, message }: import("./organization-invite").OrganizationInviteOptions): Promise>; revoke(id: number): Promise; accept(invitationToken: string): Promise; }; }; team: { create: (organizationSlugOrId: string | number, name: string) => Promise; team_application_access?: Array; grants_access_to__application?: Array; user__is_member_of__team?: Array; team_membership?: Array; includes__user?: Array; }>>; getAllByOrganization: >(organizationSlugOrId: string | number, options?: T) => Promise>; get: >(teamId: number, options?: T) => Promise[number]>; rename: (teamId: number, newTeamName: string) => Promise; remove: (teamId: number) => Promise; applicationAccess: { getAllByTeam: >(teamId: number, options?: T) => Promise>; get: >(teamApplicationAccessId: number, options?: T) => Promise[number]>; add: (teamId: number, applicationIdOrSlug: number | string, roleName: import("..").ApplicationMembershipRole["Read"]["name"]) => Promise>; update: (teamApplicationAccessId: number, roleName: import("..").ApplicationMembershipRole["Read"]["name"]) => Promise; remove: (teamApplicationAccessId: number) => Promise; }; membership: { get>(membershipId: number, options?: T): Promise[number]>; getAllByTeam>(teamId: number, options?: T): Promise>; getAllByUser>(usernameOrId: number | string, options?: T): Promise>; create({ team, username, }: { team: number; username: string; }): Promise; remove(idOrIds: number | number[]): Promise; }; }; os: { _getNormalizedDeviceTypeSlug: (deviceTypeSlug: string) => Promise; _getDownloadSize: (deviceType: string, version: string) => Promise; _clearDeviceTypesAndOsVersionCaches: () => void; _getMaxSatisfyingVersion: (versionOrRange: string, osVersions: Array>) => string | null; OsTypes: typeof import("./os").OsTypes; getAllOsVersions: { (deviceType: string, options?: undefined): Promise; (deviceType: string[], options?: undefined): Promise>; >(deviceType: string, options?: TP): Promise<(import("pinejs-client-core").OptionsToResponse<{ created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"]; id: import("@balena/sbvr-types").Types["Integer"]["Read"]; belongs_to__application: { __id: import("..").Application["Read"]["id"]; } | [import("..").Application["Read"]]; commit: import("@balena/sbvr-types").Types["Short Text"]["Read"]; composition: import("@balena/sbvr-types").Types["JSON"]["Read"]; status: import("@balena/sbvr-types").Types["Short Text"]["Read"]; source: import("@balena/sbvr-types").Types["Short Text"]["Read"]; build_log: import("@balena/sbvr-types").Types["Text"]["Read"] | null; is_invalidated: import("@balena/sbvr-types").Types["Boolean"]["Read"]; start_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"]; end_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null; update_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"]; release_version: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null; contract: import("@balena/sbvr-types").Types["JSON"]["Read"] | null; is_passing_tests: import("@balena/sbvr-types").Types["Boolean"]["Read"]; is_finalized_at__date: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null; phase: "next" | "current" | "sunset" | "end-of-life" | null; is_final: import("@balena/sbvr-types").Types["Boolean"]["Read"]; semver: import("@balena/sbvr-types").Types["Short Text"]["Read"]; semver_major: import("@balena/sbvr-types").Types["Integer"]["Read"]; semver_minor: import("@balena/sbvr-types").Types["Integer"]["Read"]; semver_patch: import("@balena/sbvr-types").Types["Integer"]["Read"]; semver_prerelease: import("@balena/sbvr-types").Types["Short Text"]["Read"]; semver_build: import("@balena/sbvr-types").Types["Short Text"]["Read"]; variant: import("@balena/sbvr-types").Types["Short Text"]["Read"]; revision: import("@balena/sbvr-types").Types["Integer"]["Read"] | null; raw_version: import("@balena/sbvr-types").Types["Short Text"]["Read"]; version: import("@balena/sbvr-types").Types["JSON"]["Read"]; known_issue_list: import("@balena/sbvr-types").Types["Text"]["Read"] | null; note: import("@balena/sbvr-types").Types["Text"]["Read"] | null; invalidation_reason: import("@balena/sbvr-types").Types["Text"]["Read"] | null; is_created_by__user: { __id: import("..").User["Read"]["id"]; } | [import("..").User["Read"]] | [] | null; release__has__tag_key?: Array; release_tag?: Array; release__has__asset_key?: Array; release_asset?: Array; image__is_part_of__release?: Array; release_image?: Array; contains__image?: Array; should_be_running_on__application?: Array; should_be_running_on__device?: Array; is_running_on__device?: Array; is_pinned_to__device?: Array; should_operate__device?: Array; should_manage__device?: Array; provides__device__installs__image?: Array; provides__image_install?: Array; }, NonNullable>, undefined>[number] & { strippedVersion: string; basedOnVersion?: string; osType: string; line?: import("./os").OsLines; })[]>; >(deviceTypes: string[], options?: TP): Promise; release_tag?: Array; release__has__asset_key?: Array; release_asset?: Array; image__is_part_of__release?: Array; release_image?: Array; contains__image?: Array; should_be_running_on__application?: Array; should_be_running_on__device?: Array; is_running_on__device?: Array; is_pinned_to__device?: Array; should_operate__device?: Array; should_manage__device?: Array; provides__device__installs__image?: Array; provides__image_install?: Array; }, NonNullable>, undefined>[number] & { strippedVersion: string; basedOnVersion?: string; osType: string; line?: import("./os").OsLines; })[]>>; }; getAvailableOsVersions: {
(deviceType: DT, pineOptions?: undefined, extraOptions?: { includeDraft?: boolean; }): Promise
>;
>(deviceType: DT, pineOptions: TP, extraOptions?: { includeDraft?: boolean; }): Promise
; release_tag?: Array; release__has__asset_key?: Array; release_asset?: Array; image__is_part_of__release?: Array; release_image?: Array; contains__image?: Array; should_be_running_on__application?: Array; should_be_running_on__device?: Array; is_running_on__device?: Array; is_pinned_to__device?: Array; should_operate__device?: Array; should_manage__device?: Array; provides__device__installs__image?: Array; provides__image_install?: Array; }, NonNullable, undefined>[number] & { strippedVersion: string; basedOnVersion?: string; osType: string; line?: import("./os").OsLines; })[] : Record; release_tag?: Array; release__has__asset_key?: Array; release_asset?: Array; image__is_part_of__release?: Array; release_image?: Array; contains__image?: Array; should_be_running_on__application?: Array; should_be_running_on__device?: Array; is_running_on__device?: Array; is_pinned_to__device?: Array; should_operate__device?: Array; should_manage__device?: Array; provides__device__installs__image?: Array; provides__image_install?: Array; }, NonNullable, undefined>[number] & { strippedVersion: string; basedOnVersion?: string; osType: string; line?: import("./os").OsLines; })[]>>; }; getMaxSatisfyingVersion: (deviceType: string, versionOrRange?: string, osType?: "default" | "esr") => Promise; getDownloadSize: (deviceType: string, version?: string) => Promise; download: (() => never) | (({ deviceType, version, ...restOptions }: import("./os").OsDownloadOptions) => Promise); getConfig: (slugOrUuidOrId: string | number, options: import("./os").ImgConfigOptions) => Promise; isSupportedOsUpdate: (deviceType: string, currentVersion: string, targetVersion: string) => Promise; getOsUpdateType: (deviceType: string, currentVersion: string, targetVersion: string) => Promise; getSupportedOsUpdateVersions: (deviceType: string, currentVersion: string, { osType, ...options }?: { osType?: "default" | "esr" | null; includeDraft?: boolean; }) => Promise; isArchitectureCompatibleWith: (osArchitecture: string, applicationArchitecture: string) => boolean; getSupervisorReleasesForCpuArchitecture: >(cpuArchitectureSlugOrId: string | number, options?: T) => Promise; release_tag?: Array; release__has__asset_key?: Array; release_asset?: Array; image__is_part_of__release?: Array; release_image?: Array; contains__image?: Array; should_be_running_on__application?: Array; should_be_running_on__device?: Array; is_running_on__device?: Array; is_pinned_to__device?: Array; should_operate__device?: Array; should_manage__device?: Array; provides__device__installs__image?: Array; provides__image_install?: Array; }, import("../util").MergePineOptions, undefined>>; }; config: { getAll: () => Promise; getDeviceTypes: () => Promise; getDeviceTypeManifestBySlug: (slugOrName: string) => Promise; getDeviceOptions: (deviceType: string) => Promise>; getConfigVarSchema: (deviceType?: string) => Promise; }; release: { get: >(commitOrIdOrRawVersion: string | number | import("./release").ReleaseRawVersionApplicationPair, options?: T) => Promise[number]>; getAllByApplication: >(slugOrUuidOrId: string | number, options?: T) => Promise>>; getLatestByApplication: >(slugOrUuidOrId: string | number, options?: T) => Promise[number]>; getWithImageDetails: , I extends import("pinejs-client-core").ODataOptionsWithoutCount>(commitOrIdOrRawVersion: string | number | import("./release").ReleaseRawVersionApplicationPair, options?: { release?: R; image?: I; }) => Promise; createFromUrl: (slugOrUuidOrId: string | number, urlDeployOptions: import("..").BuilderUrlDeployOptions) => Promise; finalize: (commitOrIdOrRawVersion: string | number | import("./release").ReleaseRawVersionApplicationPair) => Promise; setIsInvalidated: (commitOrIdOrRawVersion: string | number | import("./release").ReleaseRawVersionApplicationPair, isInvalidated: boolean) => Promise; setNote: (commitOrIdOrRawVersion: string | number | import("./release").ReleaseRawVersionApplicationPair, noteOrNull: string | null) => Promise; setKnownIssueList: (commitOrIdOrRawVersion: string | number | import("./release").ReleaseRawVersionApplicationPair, knownIssueListOrNull: string | null) => Promise; tags: { getAllByApplication>(slugOrUuidOrId: string | number, options?: T): Promise>; getAllByRelease>(commitOrIdOrRawVersion: string | number | import("./release").ReleaseRawVersionApplicationPair, options?: T): Promise>; set: (parentParam: string | number | Record, key: string, value: string) => Promise; remove: (parentParam: string | number | Record, key: string) => Promise; }; asset: { getAllByRelease: >(commitOrIdOrRawVersion: string | number | import("./release").ReleaseRawVersionApplicationPair, options?: T) => Promise>; get: >(id: number | { asset_key: import("..").ReleaseAsset["Read"]["asset_key"]; release: string | number | import("./release").ReleaseRawVersionApplicationPair; }, options?: T) => Promise[number]>; download: (id: number | { asset_key: import("..").ReleaseAsset["Read"]["asset_key"]; release: string | number | import("./release").ReleaseRawVersionApplicationPair; }) => Promise; upload: (uploadParams: Omit<{ release: import("@balena/sbvr-types").Types["Integer"]["Write"]; asset_key: import("@balena/sbvr-types").Types["Short Text"]["Write"]; asset: import("@balena/sbvr-types").Types["WebResource"]["Write"] | null; }, "asset"> & { asset: File | string; }, { chunkSize, parallelUploads, overwrite, onUploadProgress, }?: { chunkSize?: number | undefined; parallelUploads?: number | undefined; overwrite?: boolean | undefined; onUploadProgress?: (progress: { total: number; uploaded: number; }) => void | Promise; }) => Promise>; remove: (id: number | { asset_key: import("..").ReleaseAsset["Read"]["asset_key"]; release: string | number | import("./release").ReleaseRawVersionApplicationPair; }) => Promise; }; }; service: { getAllByApplication: >(slugOrUuidOrId: string | number, options?: T) => Promise>; var: { getAllByService: >(parentParam: string | number | Record, options?: O | undefined) => Promise>; getAllByApplication>(slugOrUuidOrId: string | number, options?: T): Promise>; get: (parentParam: string | number | Record, key: string) => Promise; set: (parentParam: string | number | Record, key: string, value: string) => Promise; remove: (parentParam: string | number | Record, key: string) => Promise; }; }; image: { get>(id: number, options?: T): Promise[number]>; getLogs: (id: number) => Promise; }; creditBundle: { getAllByOrg: >(organization: string | number, options?: T) => Promise>; create: (organization: string | number, featureId: number, creditsToPurchase: number) => Promise>; }; billing: { getAccount: (organization: string | number) => Promise; getPlan: (organization: string | number) => Promise; getBillingInfo: (organization: string | number) => Promise; createSetupIntent: ({ organization, ...extraParams }: { organization: string | number; "g-recaptcha-response"?: string; }) => Promise<{ id: string; client_secret: string; }>; updateBillingInfo: (organization: string | number, billingInfo: import("./billing").TokenBillingSubmitInfo) => Promise; removeBillingInfo: (organization: string | number) => Promise; updateAccountInfo: (organization: string | number, accountInfo: Partial) => Promise; changePlan: (organization: string | number, { cycle, ...restPlanChangeOptions }: import("./billing").PlanChangeOptions) => Promise; getInvoices: (organization: string | number) => Promise; downloadInvoice(organization: string | number, invoiceNumber: string): Promise; }; }; export = _default;