import { FxError, LogProvider, Result } from "@microsoft/teamsfx-api"; import { AppUser } from "../driver/teamsApp/interfaces/appdefinitions/appUser"; import { M365AppDefinition, M365AppEntity } from "./interface"; export declare enum AppScope { Personal = "Personal", Shared = "Shared", Tenant = "Tenant" } export declare const AgentPermission: { name: string; owner: string; type: string; }; export declare class PackageService { private static sharedInstance; private readonly axiosInstance; private readonly initEndpoint; private readonly logger; static GetSharedInstance(): PackageService; constructor(endpoint: string, logger?: LogProvider); private withNetworkRetry; getTitleServiceUrl(token: string): Promise; sideLoadXmlManifest(token: string, manifestPath: string): Promise<[string, string]>; sideLoading(token: string, packagePath: string, appScope?: AppScope): Promise<[string, string, string]>; sideLoadingV2(token: string, manifestPath: string, appScope: AppScope): Promise<[string, string]>; sideLoadingV1(token: string, manifestPath: string): Promise<[string, string]>; getShareLink(token: string, titleId: string): Promise; getLaunchInfoByManifestId(token: string, manifestId: string): Promise; retrieveTitleId(token: string, manifestId: string): Promise; retrieveAppId(token: string, manifestId: string): Promise; unacquire(token: string, titleId: string): Promise; getLaunchInfoByTitleId(token: string, titleId: string): Promise; getActiveExperiences(token: string, ensureUpToDate?: boolean): Promise; removePermission(token: string, titleId: string, user: AppUser): Promise>; addOwner(token: string, titleId: string, user: AppUser): Promise>; shareWithTenant(token: string, titleId: string): Promise>; getSharedUsers(token: string, titleId: string): Promise>; shareWithUsers(token: string, entities: M365AppEntity[], titleId: string, appId?: string): Promise>; unshare(token: string, titleId: string): Promise>; previewApp(token: string, titleId: string): Promise>; getCopilotStatus(token: string, ensureUpToDate?: boolean): Promise; private isExistingUser; private traceError; private checkZip; private getManifestFromZip; } //# sourceMappingURL=packageService.d.ts.map