/** * @module ui/component/admin/admin-review/admin-review * * Web Component for Administrative Review of One-Off Challenge Keystones. * Displays live countdown timers for the Active Exposure Lease ("burn fuse"), * highlights prior inspections, provides cryptographic choice pools (accept/reject), * and computes client-side signature proofs via solveAdminChallengeKeystone. */ import { IbGibAddr } from "@ibgib/ts-gib/dist/types.mjs"; import { IbGib_V1 } from "@ibgib/ts-gib/dist/V1/types.mjs"; import { IbGibDynamicComponentMetaBase, IbGibDynamicComponentInstanceBase } from "../../ibgib-dynamic-component-bases.mjs"; import { ElementsBase, IbGibDynamicComponentInstance } from "../../component-types.mjs"; export declare const ADMIN_REVIEW_COMPONENT_NAME = "ibgib-admin-review"; /** * Metadata for the Keystone Admin Review component. */ export declare class AdminReviewComponentMeta extends IbGibDynamicComponentMetaBase { protected lc: string; routeRegExp?: RegExp; componentName: string; constructor(); createInstance({ path, ibGibAddr }: { path: string; ibGibAddr: IbGibAddr; }): Promise; } /** * References to DOM elements in the admin review shadow root. */ interface AdminReviewElements extends ElementsBase { btnBack?: HTMLButtonElement; errorContainer?: HTMLDivElement; errorTitle?: HTMLElement; errorMessage?: HTMLElement; lookupSection?: HTMLElement; adminIdInput?: HTMLInputElement; adminPasswordInput?: HTMLInputElement; tjpGibInput?: HTMLInputElement; btnToggleTjpMask?: HTMLButtonElement; btnFetchChallenge?: HTMLButtonElement; fetchSpinner?: HTMLDivElement; challengeSection?: HTMLElement; alertLocked?: HTMLDivElement; lockedAdminId?: HTMLElement; lockedTime?: HTMLElement; btnRefreshLockout?: HTMLButtonElement; alertAlreadyViewed?: HTMLDivElement; alreadyViewedText?: HTMLParagraphElement; countdownBanner?: HTMLDivElement; countdownTimer?: HTMLDivElement; countdownIcon?: HTMLElement; countdownProgressFill?: HTMLDivElement; metaScope?: HTMLElement; metaTarget?: HTMLElement; metaStatus?: HTMLElement; metaCreatedAt?: HTMLElement; applicantDetailsBox?: HTMLDivElement; appHandle?: HTMLElement; appEmail?: HTMLElement; appName?: HTMLElement; appProject?: HTMLElement; appProfile?: HTMLElement; appReason?: HTMLElement; rawKeystoneCode?: HTMLElement; rawSolvedDetails?: HTMLDetailsElement; rawSolvedCode?: HTMLElement; auditLogDetails?: HTMLDetailsElement; auditLogContainer?: HTMLDivElement; decisionForm?: HTMLDivElement; poolsContainer?: HTMLDivElement; resolutionNotesInput?: HTMLTextAreaElement; decisionErrorContainer?: HTMLDivElement; decisionErrorTitle?: HTMLElement; decisionErrorMessage?: HTMLElement; btnSubmitDecision?: HTMLButtonElement; submitSpinner?: HTMLDivElement; resolutionSuccessContainer?: HTMLDivElement; resolutionStatusText?: HTMLElement; emailDispatchedBox?: HTMLDivElement; } /** * Concrete Web Component for administrative challenge review. */ export declare class AdminReviewComponentInstance extends IbGibDynamicComponentInstanceBase { protected lc: string; private activeGenesisKeystone?; private activeMetadata?; private activeTjpGib?; private cachedAdminId?; private cachedAdminPassword?; private countdownInterval?; private countdownRemainingMs; private countdownExpiresTimestampMs; private totalLeaseMs; constructor(); created(): Promise; disconnected(): Promise; private showError; private hideError; private clearCountdown; private startCountdown; private updateCountdownDisplay; private handleCountdownExpired; private handleCountdownResolved; /** * Handles fetching the challenge keystone from the server. */ private handleFetchChallenge; /** * Renders retrieved challenge information, countdown, pools, and applicant details. */ private renderChallengeDetails; private showSuccess; private renderAuditLog; /** * Solves the selected challenge pool using the admin master secret and submits to the server. */ private handleSubmitDecision; } export {}; //# sourceMappingURL=admin-review.d.mts.map