import { type Readable } from 'svelte/store'; import type { KcContext } from '../KcContext'; type KcContextLike = { url: { resourcesPath: string; }; isUserIdentified: 'true' | 'false'; challenge: string; userVerification: KcContext.WebauthnAuthenticate['userVerification']; rpId: string; createTimeout: number | string; enableWebAuthnConditionalUI?: boolean; }; type I18nLike = { msgStr: (key: 'webauthn-unsupported-browser-text' | 'passkey-unsupported-browser-text') => string; isFetchingTranslations: boolean; }; export declare function useScript(params: { webAuthnButtonId: string; kcContext: KcContextLike; i18n: Readable; }): void; export {};