import type { EidRedirectResult } from "./eid.types"; /** * Opt-in SDK debug hooks for EID harness testing. * * Never use in production code. * * ## Usage * ```ts * EidDebugHooks.injectTrinsicSuccess(); * const result = await eid.start(config); * EidDebugHooks.reset(); // always clear after use * ``` */ export declare const EidDebugHooks: { _callbackInjector: ((launchUrl: string) => EidRedirectResult) | null; _providerUrlCapture: ((url: string) => void) | null; setCallbackInjector(fn: ((launchUrl: string) => EidRedirectResult) | null): void; setProviderUrlCapture(fn: ((url: string) => void) | null): void; /** * Injects a Trinsic success by parsing sessionId and state from the launchUrl. * The browser popup is bypassed — the injector runs synchronously. */ injectTrinsicSuccess(resultsAccessKey?: string): void; /** Injects a provider cancellation (access_denied). */ injectProviderCancel(): void; /** Clears all hooks. Always call in afterEach / tearDown. */ reset(): void; };