import type { Nullable } from '../../helpers/nullable'; import type { BuilderContent } from '../../types/builder-content'; import type { Target } from '../../types/targets'; /** * SDKs where `BuilderScripts` can dedupe helper scripts. Elsewhere `Content` cannot read its context * (RSC server components, Angular DI) or has no inline scripts (React Native). */ export declare const SDKS_SUPPORTING_BUILDER_SCRIPTS: Target[]; export declare const getVariants: (content: Nullable) => { testVariationId: string | undefined; id: string | undefined; data?: { title?: string; blocks?: import("../..").BuilderBlock[]; inputs?: import("../../types/input").Input[]; state?: { [key: string]: any; }; jsCode?: string; tsCode?: string; httpRequests?: { [key: string]: string; }; [key: string]: any; }; name?: string; testRatio?: number; meta?: { breakpoints?: import("../../types/typescript").Nullable; [key: string]: any; }; }[]; export declare const checkShouldRenderVariants: ({ canTrack, content }: { canTrack: Nullable; content: Nullable; }) => boolean; type VariantData = { id: string; testRatio?: number; }; export declare const getInitVariantsFnsScriptString: () => string; export declare const getUpdateCookieAndStylesScript: (variants: VariantData[], contentId: string) => string; export declare const getUpdateVariantVisibilityScript: ({ contentId, variationId }: { variationId: string; contentId: string; }) => string; export {};