import type { Callback, PolicyRequirement } from '@forgerock/sdk-types'; import { BaseCallback } from './base-callback.js'; /** * Represents a callback used to collect a valid platform username. */ export declare class ValidatedCreateUsernameCallback extends BaseCallback { payload: Callback; /** * @param payload The raw payload returned by OpenAM */ constructor(payload: Callback); /** * Gets the callback's prompt. */ getPrompt(): string; /** * Gets the callback's failed policies. */ getFailedPolicies(): PolicyRequirement[]; /** * Gets the callback's applicable policies. */ getPolicies(): Record; /** * Gets whether the username is required. */ isRequired(): boolean; /** * Sets the callback's username. */ setName(name: string): void; /** * Set if validating value only. */ setValidateOnly(value: boolean): void; } //# sourceMappingURL=validated-create-username-callback.d.ts.map