import { AmplifyContext } from '@aws-amplify/core'; import { InterpretTextInput, InterpretTextOutput } from '../types'; export declare class AmazonAIInterpretPredictionsProvider { private comprehendClient?; /** * Resolve the AmplifyContext for this provider (fresh per operation). * - If an explicit ctx was passed at construction, it is pinned (fixed context by design). * - Otherwise, the global context is resolved fresh per access so that reconfiguration * (setGlobalContext with a new AmplifyContext) is honored across operations. * @private */ private readonly _resolveCtx; /** * @param ctx - The AmplifyContext to use for auth and config. * When provided, the provider is pinned to this context. * When omitted, the provider resolves the global context lazily per operation. */ constructor(ctx?: AmplifyContext); getProviderName(): string; interpret(input: InterpretTextInput): Promise; interpretText(input: InterpretTextInput): Promise; private detectKeyPhrases; private detectSyntax; private serializeSyntaxFromComprehend; private detectSentiment; private detectEntities; private serializeEntitiesFromComprehend; private detectLanguage; }