import { CloudFormationClient } from '@aws-sdk/client-cloudformation'; import { BackendOutput, BackendOutputRetrievalStrategy, MainStackNameResolver } from '@aws-amplify/plugin-types'; /** * Gets Amplify backend outputs from stack metadata and outputs */ export declare class StackMetadataBackendOutputRetrievalStrategy implements BackendOutputRetrievalStrategy { private readonly cfnClient; private readonly stackNameResolver; /** * Instantiate with a CloudFormationClient and a StackNameResolver */ constructor(cfnClient: CloudFormationClient, stackNameResolver: MainStackNameResolver); /** * Resolves the stackName, then queries CFN for the stack metadata and outputs * * It combines the metadata and outputs to reconstruct the data object that was provided by the Amplify constructs when writing the output. * Except now the data contains the resolved values of the deployed resources rather than CFN references */ fetchBackendOutput: () => Promise; /** * Filter out stack metadata entries that do not pertain to backend outputs */ private filterBackendOutputEntryStackMetadata; /** * Type predicate to determine if stack metadata entry is like a backend output entry. * Zod parsing validation will handle stricter type checking */ private isBackendOutputEntryStackMetadata; } //# sourceMappingURL=stack_metadata_output_retrieval_strategy.d.ts.map