import type { TurnstileAppearance, TurnstileExecution, TurnstileRefresh, TurnstileRetry, TurnstileSize, TurnstileTheme, TurnstileWidget } from './types.js';
interface Props {
    siteKey: string;
    fieldName?: string;
    action?: string;
    cData?: string;
    retry?: TurnstileRetry;
    retryInterval?: number;
    theme?: TurnstileTheme;
    size?: TurnstileSize;
    forms?: boolean;
    tabIndex?: number;
    language?: string;
    refreshExpired?: TurnstileRefresh;
    refreshTimeout?: TurnstileRefresh;
    appearance?: TurnstileAppearance;
    execution?: TurnstileExecution;
    feedbackEnabled?: boolean;
    offlabelShowPrivacy?: boolean;
    offlabelShowHelp?: boolean;
    onCallback?: (token: string) => void;
    onError?: (code: string) => void;
    onExpired?: () => void;
    onTimeout?: () => void;
    onBeforeInteractive?: () => void;
    onAfterInteractive?: () => void;
    onUnsupported?: () => void;
    widget?: TurnstileWidget;
}
declare const Turnstile: import("svelte").Component<Props, {}, "widget">;
type Turnstile = ReturnType<typeof Turnstile>;
export default Turnstile;
