import type { Callback, PolicyRequirement } from '@forgerock/sdk-types'; import { BaseCallback } from './base-callback.js'; /** * Represents a callback used to collect attributes. * * @typeparam T Maps to StringAttributeInputCallback, NumberAttributeInputCallback and * BooleanAttributeInputCallback, respectively */ export declare class AttributeInputCallback extends BaseCallback { payload: Callback; /** * @param payload The raw payload returned by OpenAM */ constructor(payload: Callback); /** * Gets the attribute name. */ getName(): string; /** * Gets the attribute prompt. */ getPrompt(): string; /** * Gets whether the attribute is required. */ isRequired(): boolean; /** * Gets the callback's failed policies. */ getFailedPolicies(): PolicyRequirement[]; /** * Gets the callback's applicable policies. */ getPolicies(): Record; /** * Set if validating value only. */ setValidateOnly(value: boolean): void; /** * Sets the attribute's value. */ setValue(value: T): void; } //# sourceMappingURL=attribute-input-callback.d.ts.map