import type * as comprehend from "@distilled.cloud/aws/comprehend"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; /** * Runtime binding for `comprehend:DetectKeyPhrases` — extract the key noun * phrases of the input text with confidence scores and offsets. * * The binding takes no arguments and grants the action on `*` (the action * has no resource-level IAM). * * ### Real-Time Analysis * **Example:** Extract Key Phrases * ```typescript * // init * const detectKeyPhrases = yield* AWS.Comprehend.DetectKeyPhrases(); * * // runtime * const result = yield* detectKeyPhrases({ * Text: "The quarterly earnings report exceeded analyst expectations.", * LanguageCode: "en", * }); * // result.KeyPhrases: [{ Text: "The quarterly earnings report" }, …] * ``` * * @binding */ export interface DetectKeyPhrases extends Binding.Service Effect.Effect<(request: comprehend.DetectKeyPhrasesRequest) => Effect.Effect>> { } export declare const DetectKeyPhrases: DetectKeyPhrases; //# sourceMappingURL=DetectKeyPhrases.d.ts.map