import { UserAction } from "@namiml/sdk-core";
import { NamiSKU } from "../../types/externals/sku";
import { type NamiPaywallComponentChange } from "../../types/externals/paywall";
import { PaywallContextProvider } from "../ContextProvider";
type HandleActionParams = {
    onTap?: UserAction;
    sku?: NamiSKU;
    componentChange?: NamiPaywallComponentChange;
    contextProvider: PaywallContextProvider;
};
export declare const handleAction: ({ onTap, sku, componentChange, contextProvider, }?: HandleActionParams) => void;
export declare const closePaywallHandler: () => void;
export declare const restorePurchase: () => void;
export declare const signIn: () => void;
export declare const deepLink: (url?: string) => void;
export declare const buySKU: (contextProvider: PaywallContextProvider, onTap: UserAction, sku: NamiSKU) => NamiSKU;
export declare const navigateToScreen: (contextProvider: PaywallContextProvider, screen?: string) => void;
export declare const setState: (contextProvider: PaywallContextProvider, formId?: string, value?: string) => {
    formId: string;
    value: string | undefined;
    id?: undefined;
    name?: undefined;
} | {
    id: string;
    name: string;
    formId?: undefined;
    value?: undefined;
};
export declare const selectSKU: (contextProvider: PaywallContextProvider, sku: NamiSKU) => void;
export declare const purchaseSelectedSKU: (contextProvider: PaywallContextProvider, sku: NamiSKU) => void;
export declare const reloadProducts: () => void;
export declare function shouldHoist(onTap?: UserAction): boolean;
export {};
