/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc1
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import type { ErrorDetail } from './ErrorDetail';
import type { ContextualFlowInfo } from './ContextualFlowInfo';
import type { ConsentPermission } from './ConsentPermission';
/**
 * Challenge info for consent screens
 * @export
 * @interface ConsentChallenge
 */
export interface ConsentChallenge {
    /**
     *
     * @type {ContextualFlowInfo}
     * @memberof ConsentChallenge
     */
    flowInfo?: ContextualFlowInfo;
    /**
     *
     * @type {string}
     * @memberof ConsentChallenge
     */
    component?: string;
    /**
     *
     * @type {{ [key: string]: Array<ErrorDetail>; }}
     * @memberof ConsentChallenge
     */
    responseErrors?: {
        [key: string]: Array<ErrorDetail>;
    };
    /**
     *
     * @type {string}
     * @memberof ConsentChallenge
     */
    pendingUser: string;
    /**
     *
     * @type {string}
     * @memberof ConsentChallenge
     */
    pendingUserAvatar: string;
    /**
     *
     * @type {string}
     * @memberof ConsentChallenge
     */
    headerText?: string;
    /**
     *
     * @type {Array<ConsentPermission>}
     * @memberof ConsentChallenge
     */
    permissions: Array<ConsentPermission>;
    /**
     *
     * @type {Array<ConsentPermission>}
     * @memberof ConsentChallenge
     */
    additionalPermissions: Array<ConsentPermission>;
    /**
     *
     * @type {string}
     * @memberof ConsentChallenge
     */
    token: string;
}
/**
 * Check if a given object implements the ConsentChallenge interface.
 */
export declare function instanceOfConsentChallenge(value: object): value is ConsentChallenge;
export declare function ConsentChallengeFromJSON(json: any): ConsentChallenge;
export declare function ConsentChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConsentChallenge;
export declare function ConsentChallengeToJSON(json: any): ConsentChallenge;
export declare function ConsentChallengeToJSONTyped(value?: ConsentChallenge | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=ConsentChallenge.d.ts.map