import React from "react"; /** One requested scope, with an optional human-readable description. */ export interface ConsentScope { scope: string; description?: string; } export interface ConsentScreenProps { /** The relying party's display name (heading). */ clientName: string; /** The scopes the client is requesting. */ scopes: ConsentScope[]; /** Approve โ€” the app records the grant and resumes the authorize request. */ onAllow: () => void; /** Decline โ€” the app bounces the client with `access_denied`. */ onDeny: () => void; isLoading?: boolean; error?: string; } /** * OIDC consent prompt (OIDC Core ยง3.1.2.4). Presentational + prop-driven: the * host app fetches the request detail, records the decision, and navigates โ€” * this screen only renders the scopes and the allow/deny choice, so it stays * transport-agnostic and reusable across apps. */ export declare function ConsentScreen({ clientName, scopes, onAllow, onDeny, isLoading, error, }: ConsentScreenProps): React.JSX.Element; export default ConsentScreen; //# sourceMappingURL=ConsentScreen.d.ts.map