import { DynamoDBDocumentClient, GetCommandOutput } from '@aws-sdk/lib-dynamodb'; import { Logger } from './logger'; import { AddonExecutionData, Client } from '../entities'; export declare class GetAddonExecutionData { protected fetch: any; protected logger: Logger; protected authentication: any; protected jobMessage: any; protected static readonly addonFilesFolder: string; constructor(fetch: any, logger: Logger, authentication: any, jobMessage: any); protected get awsDocClient(): DynamoDBDocumentClient; /** * Get the AddonUUID and DistributorUUID, and extracts the installed addon version * from DynamoDB's InstalledAddon table. * In case InstalledAddon table doesn't contain the addon, it will try to get * the installed addon from PAPI. */ Execute(): Promise; protected checkDistributorUUID(): boolean; protected getDataForJobExecution(): Promise; protected getExecutionData(): Promise<{ PathToExecute: string; Client: Client; }>; createClientObject(pathToExecute: string, addonSecretKey: string): Client; protected getAddonPath(addonLatestVersion?: string): string; protected getInstalledAddon(addonUUID: string): Promise; protected getInstalledAddonFromDynamo(key: string): Promise; protected getInstalledAddonFromPAPI(addonUUID: string): Promise; protected getValidatePermissionFunctionForClient(): (policyName: string) => Promise; protected getValidatePermissionFunctionForDebugClient(): (policyName: string, addonUUID: string) => Promise; protected validatePermission(key: string): Promise; }