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 ADD_DEVICE_COMPONENT_NAME = "ibgib-add-device"; /** * Metadata for the Add Device / Pairing component. */ export declare class AddDeviceComponentMeta extends IbGibDynamicComponentMetaBase { protected lc: string; routeRegExp?: RegExp; componentName: string; constructor(); createInstance({ path, ibGibAddr }: { path: string; ibGibAddr: IbGibAddr; }): Promise; } interface AddDeviceElements extends ElementsBase { containerEl: HTMLDivElement; titleEl: HTMLHeadingElement; subtitleEl: HTMLParagraphElement; surfaceEntryEl: HTMLDivElement; btnGoogleSso: HTMLButtonElement; btnGithubSso: HTMLButtonElement; inputIdentifier: HTMLInputElement; btnContinueEmail: HTMLButtonElement; sectionCodeVerification: HTMLDivElement; inputCode: HTMLInputElement; btnVerifyCode: HTMLButtonElement; sectionSovereignPassword: HTMLDivElement; inputPassword: HTMLInputElement; btnAuthorizePassword: HTMLButtonElement; inputDeviceTag: HTMLInputElement; checkboxMakeActive: HTMLInputElement; statusArea: HTMLDivElement; statusText: HTMLParagraphElement; resultAreaEl: HTMLDivElement; delegateAddrEl: HTMLElement; } /** * Concrete implementation of the Add Device / Pairing component. */ export declare class AddDeviceComponentInstance extends IbGibFormInstanceBase implements IbGibDynamicComponentInstance { /** Identity is device-scoped and mode-agnostic: always use the persistent metaspace. */ protected metaspaceScope: ComponentMetaspaceScope; protected lc: string; private _stagedEmail?; private _stagedPrimaryTjpAddr?; private _stagedPrimaryKeystone?; private _stagedPrimaryGraph?; private _stagedSiteUsername?; constructor(); initialize(opts: IbGibDynamicComponentInstanceInitOpts): Promise; created(): Promise; disconnected(): Promise; private initHandlers; private getDeviceTag; protected handleSsoClick(providerId: 'google' | 'github'): Promise; protected handleContinueEmail(): Promise; protected handleVerifyCode(): Promise; private completeCustodialDelegateOnboarding; protected handleAuthorizePassword(): Promise; private finalizeDeviceOnboarding; protected renderUI(): Promise; handleContextUpdated(): Promise; } export {}; //# sourceMappingURL=add-device.d.mts.map