import type { Callback } from '@forgerock/sdk-types'; import { BaseCallback } from './base-callback.js'; /** * Represents a callback used to collect an answer to a choice. */ export declare class ChoiceCallback extends BaseCallback { payload: Callback; /** * @param payload The raw payload returned by OpenAM */ constructor(payload: Callback); /** * Gets the choice's prompt. */ getPrompt(): string; /** * Gets the choice's default answer. */ getDefaultChoice(): number; /** * Gets the choice's possible answers. */ getChoices(): string[]; /** * Sets the choice's answer by index position. */ setChoiceIndex(index: number): void; /** * Sets the choice's answer by value. */ setChoiceValue(value: string): void; } //# sourceMappingURL=choice-callback.d.ts.map