import React, { useEffect, Dispatch, SetStateAction, RefObject, ReactNode } from 'react';
import * as react_jsx_runtime from 'react/jsx-runtime';
import { FieldValues, UseFormReturn, FieldPath, RegisterOptions, UseControllerProps, ControllerRenderProps, ControllerFieldState } from 'react-hook-form';
export { FieldValues, FieldPath as Path, UseFormReturn } from 'react-hook-form';
import { ColumnDef, Table } from '@tanstack/react-table';
export { ColumnDef, ColumnFiltersState, ColumnHelper, PaginationState, Row, RowSelectionState, SortingState, VisibilityState, createColumnHelper } from '@tanstack/react-table';
import { EmblaOptionsType, EmblaPluginType, EmblaCarouselType } from 'embla-carousel';
declare const containerWidth: {
readonly sm: "max-w-2xl";
readonly md: "max-w-3xl";
readonly lg: "max-w-4xl";
readonly xl: "max-w-5xl";
readonly '2xl': "max-w-6xl";
readonly '3xl': "max-w-7xl";
readonly '4xl': "max-w-[1400px]";
readonly '5xl': "max-w-[1600px]";
readonly '6xl': "max-w-[1800px]";
readonly '7xl': "max-w-[2000px]";
readonly prose: "max-w-prose";
readonly full: "max-w-none";
};
declare const pageGutter: {
readonly 0: "px-0";
readonly sm: "px-3";
readonly md: "px-4 sm:px-6";
readonly lg: "px-4 sm:px-6 lg:px-8";
readonly xl: "px-6 sm:px-8 lg:px-12";
};
declare const sectionRhythm: {
readonly none: "py-0";
readonly sm: "py-8 sm:py-12";
readonly md: "py-12 sm:py-16";
readonly lg: "py-16 sm:py-20 lg:py-24";
readonly xl: "py-20 sm:py-28 lg:py-32";
};
declare const stackGap: {
readonly 0: "gap-0";
readonly 1: "gap-1";
readonly 2: "gap-2";
readonly 3: "gap-3";
readonly 4: "gap-4";
readonly 5: "gap-5";
readonly 6: "gap-6";
readonly 8: "gap-8";
readonly 10: "gap-10";
readonly 12: "gap-12";
readonly 16: "gap-16";
};
declare const rhythm: {
readonly eyebrowToHeadline: "mt-5";
readonly headlineToSubline: "mt-3";
readonly sublineToCtas: "mt-7";
readonly ctasToMeta: "mt-10";
readonly metaToInstall: "mt-5";
};
/**
* Layout/surface-scale tone tokens — consumed by the card/layout/hero family
* (PixelCard, PixelBox, PixelBentoCell, PixelHeroSection, PixelSidebar, …).
*
* DECISION (do not "sync" with `toneMap` in common.tsx): this map and
* `toneMap` are two deliberately distinct tiers, and BOTH are rendered
* truth for their own consumers:
* - `toneMap` (common.tsx) targets control-scale chrome (buttons, badges,
* inputs, chips) and uses `border-*\/40` — borders must stay visible at
* body-text sizes.
* - this `tone` map targets large surfaces (cards, sections) and uses
* `border-*\/30` plus a `glow` shadow — large areas need softer borders
* to avoid visual heaviness (and it has no `hover` tier; surfaces are
* not interactive by default).
* Aligning the values either way would change rendered pixels for one of
* the two component families, so the divergence is intentional and kept.
*/
declare const tone: {
readonly neutral: {
readonly border: "border-retro-border";
readonly bg: "bg-retro-surface/40";
readonly soft: "bg-retro-surface/20";
readonly glow: "shadow-[0_0_24px_-12px_rgba(0,0,0,0.4)]";
readonly ring: "focus-visible:ring-retro-border";
readonly text: "text-retro-text";
readonly fill: "bg-retro-muted";
};
readonly green: {
readonly border: "border-retro-green/30";
readonly bg: "bg-retro-green/18";
readonly soft: "bg-retro-green/8";
readonly glow: "shadow-[0_0_24px_-8px_rgba(0,255,128,0.45)]";
readonly ring: "focus-visible:ring-retro-green/40";
readonly text: "text-retro-green";
readonly fill: "bg-retro-green";
};
readonly cyan: {
readonly border: "border-retro-cyan/30";
readonly bg: "bg-retro-cyan/18";
readonly soft: "bg-retro-cyan/8";
readonly glow: "shadow-[0_0_24px_-8px_rgba(14,165,233,0.45)]";
readonly ring: "focus-visible:ring-retro-cyan/40";
readonly text: "text-retro-cyan";
readonly fill: "bg-retro-cyan";
};
readonly gold: {
readonly border: "border-retro-gold/30";
readonly bg: "bg-retro-gold/18";
readonly soft: "bg-retro-gold/8";
readonly glow: "shadow-[0_0_24px_-8px_rgba(234,179,8,0.45)]";
readonly ring: "focus-visible:ring-retro-gold/40";
readonly text: "text-retro-gold";
readonly fill: "bg-retro-gold";
};
readonly red: {
readonly border: "border-retro-red/30";
readonly bg: "bg-retro-red/18";
readonly soft: "bg-retro-red/8";
readonly glow: "shadow-[0_0_24px_-8px_rgba(239,68,68,0.45)]";
readonly ring: "focus-visible:ring-retro-red/40";
readonly text: "text-retro-red";
readonly fill: "bg-retro-red";
};
readonly purple: {
readonly border: "border-retro-purple/30";
readonly bg: "bg-retro-purple/18";
readonly soft: "bg-retro-purple/8";
readonly glow: "shadow-[0_0_24px_-8px_rgba(168,85,247,0.45)]";
readonly ring: "focus-visible:ring-retro-purple/40";
readonly text: "text-retro-purple";
readonly fill: "bg-retro-purple";
};
readonly pink: {
readonly border: "border-retro-pink/30";
readonly bg: "bg-retro-pink/18";
readonly soft: "bg-retro-pink/8";
readonly glow: "shadow-[0_0_24px_-8px_rgba(236,72,153,0.45)]";
readonly ring: "focus-visible:ring-retro-pink/40";
readonly text: "text-retro-pink";
readonly fill: "bg-retro-pink";
};
};
declare const durations: {
readonly fast: "duration-150";
readonly normal: "duration-200";
readonly slow: "duration-300";
readonly slower: "duration-500";
};
declare const easings: {
readonly standard: "ease-out";
readonly bounce: "ease-[cubic-bezier(.34,1.56,.64,1)]";
readonly linear: "ease-linear";
};
type ContainerWidth = keyof typeof containerWidth;
type PageGutter = keyof typeof pageGutter;
type SectionRhythmKey = keyof typeof sectionRhythm;
type StackGapKey = keyof typeof stackGap;
type RhythmKey = keyof typeof rhythm;
type ToneKey = keyof typeof tone;
/**
* Wrap a subtree to change the default `surface` of every nested Pxlkit
* component without setting the prop on each one individually.
*
* @example
*