import { ComponentMetaspaceScope } from "../../component-types.mjs"; import { IbGibAddr } from "@ibgib/ts-gib/dist/types.mjs"; import { IbGib_V1 } from "@ibgib/ts-gib/dist/V1/types.mjs"; import { IbGibDynamicComponentMetaBase, IbGibFormInstanceBase } from "../../ibgib-dynamic-component-bases.mjs"; import { ElementsBase, IbGibDynamicComponentInstance, IbGibDynamicComponentInstanceInitOpts } from "../../component-types.mjs"; export declare const REMOVE_DEVICE_COMPONENT_NAME = "ibgib-remove-device"; /** * Metadata for the Remove Device / Revocation component. */ export declare class RemoveDeviceComponentMeta extends IbGibDynamicComponentMetaBase { protected lc: string; routeRegExp?: RegExp; componentName: string; constructor(); createInstance({ path, ibGibAddr }: { path: string; ibGibAddr: IbGibAddr; }): Promise; } interface RemoveDeviceElements extends ElementsBase { containerEl: HTMLDivElement; titleEl: HTMLHeadingElement; selectDelegateEl: HTMLSelectElement; inputPassword: HTMLInputElement; btnRemoveDeviceEl: HTMLButtonElement; statusArea: HTMLDivElement; statusText: HTMLParagraphElement; resultAreaEl: HTMLDivElement; } /** * Concrete implementation of the Remove Device / Revocation component. */ export declare class RemoveDeviceComponentInstance extends IbGibFormInstanceBase implements IbGibDynamicComponentInstance { /** Identity is device-scoped and mode-agnostic: always use the persistent metaspace. */ protected metaspaceScope: ComponentMetaspaceScope; protected lc: string; private activePrimaryKeystone; constructor(); initialize(opts: IbGibDynamicComponentInstanceInitOpts): Promise; created(): Promise; disconnected(): Promise; private initHandlers; /** * Loads registered delegate devices from the active primary identity keystone into the dropdown select. */ protected loadRegisteredDelegates(): Promise; /** * Executes the Phase 1 Remove-Device revocation orchestration flow. */ protected handleRemoveDevice(): Promise; } export {}; //# sourceMappingURL=remove-device.d.mts.map