import type { SwappedTheme } from '@funkit/connect-core';
import type { ThemeVars } from '../css/sprinkles.css';
export { getSavedFormOfPaymentDisplayName, getSavedFormOfPaymentIcon, getSwappedIcon, getSwappedOrigin, isSavedFormOfPaymentType, isSwappedOrigin, SWAPPED_CARD_BRANDS, } from '@funkit/connect-core';
export type { SwappedTheme };
export declare function resolveCssValue(value: string): string;
export declare function resolveObjectCssVars<T extends object>(obj: T): T;
/**
 * Builds the SwappedTheme payload from a ThemeVars object. Pure — it does not
 * touch the DOM, so it is safe to share across platforms. The returned values
 * may still contain `var(...)` / `calc(var(...))` references: web callers must
 * resolve them with {@link resolveObjectCssVars} before sending to the Swapped
 * embed; non-web callers must pass already-concrete values.
 */
export declare function buildSwappedTheme(theme: ThemeVars & {
    customFontFamily?: {
        primary?: string;
        secondary?: string;
    };
}, isDarkMode: boolean): SwappedTheme;
/**
 * Maps a *resolved* ThemeVars into Swapped's theme query params. Pure — it does
 * not touch the DOM. Web callers must pass a theme whose CSS vars are already
 * resolved (via {@link resolveObjectCssVars}) so colors are concrete hex and the
 * leading `#` can be stripped; non-web callers must pass concrete values.
 */
export declare function buildSwappedThemeQueryParams(resolvedTheme: ThemeVars): Record<string, string>;
