import { CaptchaProviderEnum as CaptchaProviderEnumCore } from '@dynamic-labs/sdk-api-core';
import type { CaptchaSettingsResult } from './getCaptchaSettings.types';
/**
 * The captcha providers Dynamic can be configured to use for an environment.
 * Use it to branch on which captcha widget to render for the active provider.
 *
 * Redeclared locally (rather than re-exported directly from the generated
 * `sdk-api-core`) so the public client entry point owns its own documented,
 * stable surface for this token.
 *
 * @example
 * ```ts
 * const settings = getCaptchaSettings();
 * if (settings?.provider === CaptchaProviderEnum.Hcaptcha) {
 *   renderHcaptcha(settings.siteKey);
 * }
 * ```
 * @see getCaptchaSettings
 * @see CaptchaSettingsResult
 */
export declare const CaptchaProviderEnum: typeof CaptchaProviderEnumCore;
/**
 * The captcha providers Dynamic can be configured to use for an environment.
 * Use it to type the `provider` returned by {@link getCaptchaSettings}.
 *
 * @example
 * ```ts
 * const provider: CaptchaProviderEnum = CaptchaProviderEnum.Hcaptcha;
 * ```
 * @see getCaptchaSettings
 * @see CaptchaSettingsResult
 */
export type CaptchaProviderEnum = CaptchaProviderEnumCore;
/**
 * Returns the active captcha provider and site key, or undefined if captcha is not enabled.
 * Use this to determine which captcha widget to render and which site key to pass it.
 *
 * @example
 * ```ts
 * const settings = getCaptchaSettings();
 * if (settings) renderCaptcha(settings.provider, settings.siteKey);
 * ```
 * @see CaptchaSettingsResult
 * @see CaptchaProviderEnum
 * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
 * @returns The active captcha provider and site key, or undefined when captcha is not enabled.
 * @notInstrumented
 */
export declare const getCaptchaSettings: (client?: import("../../../exports").DynamicClient) => CaptchaSettingsResult | undefined;
//# sourceMappingURL=getCaptchaSettings.d.ts.map