bits-ui
Version:
The headless components for Svelte.
549 lines • 88.1 kB
TypeScript
import { type Middleware, type Placement } from "@floating-ui/dom";
import { type ReadableBoxedValues, type ReadableBox, type Box } from "svelte-toolbelt";
import type { Arrayable, WithRefOpts } from "../../../internal/types.js";
import type { Measurable, UseFloatingReturn } from "../../../internal/floating-svelte/types.js";
import type { Direction, StyleProperties } from "../../../shared/index.js";
export declare const SIDE_OPTIONS: readonly ["top", "right", "bottom", "left"];
export declare const ALIGN_OPTIONS: readonly ["start", "center", "end"];
export type Side = (typeof SIDE_OPTIONS)[number];
export type Align = (typeof ALIGN_OPTIONS)[number];
export type Boundary = Element | null;
export declare class FloatingRootState {
static create(tooltip?: boolean): FloatingRootState;
anchorNode: import("svelte-toolbelt").WritableBox<HTMLElement | Measurable | null>;
customAnchorNode: import("svelte-toolbelt").WritableBox<string | HTMLElement | Measurable | null>;
triggerNode: ReadableBox<Measurable | HTMLElement | null>;
constructor();
}
export interface FloatingContentStateOpts extends ReadableBoxedValues<{
id: string;
wrapperId: string;
side: Side;
sideOffset: number;
align: Align;
alignOffset: number;
arrowPadding: number;
avoidCollisions: boolean;
collisionBoundary: Arrayable<Boundary>;
collisionPadding: number | Partial<Record<Side, number>>;
sticky: "partial" | "always";
hideWhenDetached: boolean;
updatePositionStrategy: "optimized" | "always";
strategy: "fixed" | "absolute";
onPlaced: () => void;
dir: Direction;
style: StyleProperties | null | undefined | string;
enabled: boolean;
customAnchor: string | HTMLElement | null | Measurable;
}> {
}
export declare class FloatingContentState {
#private;
static create(opts: FloatingContentStateOpts, tooltip?: boolean): FloatingContentState;
readonly opts: FloatingContentStateOpts;
readonly root: FloatingRootState;
contentRef: import("svelte-toolbelt").WritableBox<HTMLElement | null>;
wrapperRef: import("svelte-toolbelt").WritableBox<HTMLElement | null>;
arrowRef: import("svelte-toolbelt").WritableBox<HTMLElement | null>;
readonly contentAttachment: {
[x: symbol]: (node: HTMLElement) => () => void;
};
readonly wrapperAttachment: {
[x: symbol]: (node: HTMLElement) => () => void;
};
readonly arrowAttachment: {
[x: symbol]: (node: HTMLElement) => () => void;
};
arrowId: Box<string>;
hasExplicitBoundaries: boolean;
detectOverflowOptions: {
padding: number | Partial<Record<"left" | "right" | "top" | "bottom", number>>;
boundary: Element[];
altBoundary: boolean;
};
middleware: Middleware[];
floating: UseFloatingReturn;
placedSide: "left" | "right" | "top" | "bottom";
placedAlign: "end" | "center" | "start";
arrowX: number;
arrowY: number;
cannotCenterArrow: boolean;
contentZIndex: string | undefined;
arrowBaseSide: "left" | "right" | "top" | "bottom";
wrapperProps: {
readonly id: string;
readonly "data-bits-floating-content-wrapper": "";
readonly style: {
readonly accentColor?: import("csstype").Property.AccentColor | undefined;
readonly alignContent?: import("csstype").Property.AlignContent | undefined;
readonly alignItems?: import("csstype").Property.AlignItems | undefined;
readonly alignSelf?: import("csstype").Property.AlignSelf | undefined;
readonly alignTracks?: import("csstype").Property.AlignTracks | undefined;
readonly animationComposition?: import("csstype").Property.AnimationComposition | undefined;
readonly animationDelay?: import("csstype").Property.AnimationDelay<string & {}> | undefined;
readonly animationDirection?: import("csstype").Property.AnimationDirection | undefined;
readonly animationDuration?: import("csstype").Property.AnimationDuration<string & {}> | undefined;
readonly animationFillMode?: import("csstype").Property.AnimationFillMode | undefined;
readonly animationIterationCount?: import("csstype").Property.AnimationIterationCount | undefined;
readonly animationName?: import("csstype").Property.AnimationName | undefined;
readonly animationPlayState?: import("csstype").Property.AnimationPlayState | undefined;
readonly animationRangeEnd?: import("csstype").Property.AnimationRangeEnd<0 | (string & {})> | undefined;
readonly animationRangeStart?: import("csstype").Property.AnimationRangeStart<0 | (string & {})> | undefined;
readonly animationTimeline?: import("csstype").Property.AnimationTimeline | undefined;
readonly animationTimingFunction?: import("csstype").Property.AnimationTimingFunction | undefined;
readonly appearance?: import("csstype").Property.Appearance | undefined;
readonly aspectRatio?: import("csstype").Property.AspectRatio | undefined;
readonly backdropFilter?: import("csstype").Property.BackdropFilter | undefined;
readonly backfaceVisibility?: import("csstype").Property.BackfaceVisibility | undefined;
readonly backgroundAttachment?: import("csstype").Property.BackgroundAttachment | undefined;
readonly backgroundBlendMode?: import("csstype").Property.BackgroundBlendMode | undefined;
readonly backgroundClip?: import("csstype").Property.BackgroundClip | undefined;
readonly backgroundColor?: import("csstype").Property.BackgroundColor | undefined;
readonly backgroundImage?: import("csstype").Property.BackgroundImage | undefined;
readonly backgroundOrigin?: import("csstype").Property.BackgroundOrigin | undefined;
readonly backgroundPositionX?: import("csstype").Property.BackgroundPositionX<0 | (string & {})> | undefined;
readonly backgroundPositionY?: import("csstype").Property.BackgroundPositionY<0 | (string & {})> | undefined;
readonly backgroundRepeat?: import("csstype").Property.BackgroundRepeat | undefined;
readonly backgroundSize?: import("csstype").Property.BackgroundSize<0 | (string & {})> | undefined;
readonly blockOverflow?: import("csstype").Property.BlockOverflow | undefined;
readonly blockSize?: import("csstype").Property.BlockSize<0 | (string & {})> | undefined;
readonly borderBlockColor?: import("csstype").Property.BorderBlockColor | undefined;
readonly borderBlockEndColor?: import("csstype").Property.BorderBlockEndColor | undefined;
readonly borderBlockEndStyle?: import("csstype").Property.BorderBlockEndStyle | undefined;
readonly borderBlockEndWidth?: import("csstype").Property.BorderBlockEndWidth<0 | (string & {})> | undefined;
readonly borderBlockStartColor?: import("csstype").Property.BorderBlockStartColor | undefined;
readonly borderBlockStartStyle?: import("csstype").Property.BorderBlockStartStyle | undefined;
readonly borderBlockStartWidth?: import("csstype").Property.BorderBlockStartWidth<0 | (string & {})> | undefined;
readonly borderBlockStyle?: import("csstype").Property.BorderBlockStyle | undefined;
readonly borderBlockWidth?: import("csstype").Property.BorderBlockWidth<0 | (string & {})> | undefined;
readonly borderBottomColor?: import("csstype").Property.BorderBottomColor | undefined;
readonly borderBottomLeftRadius?: import("csstype").Property.BorderBottomLeftRadius<0 | (string & {})> | undefined;
readonly borderBottomRightRadius?: import("csstype").Property.BorderBottomRightRadius<0 | (string & {})> | undefined;
readonly borderBottomStyle?: import("csstype").Property.BorderBottomStyle | undefined;
readonly borderBottomWidth?: import("csstype").Property.BorderBottomWidth<0 | (string & {})> | undefined;
readonly borderCollapse?: import("csstype").Property.BorderCollapse | undefined;
readonly borderEndEndRadius?: import("csstype").Property.BorderEndEndRadius<0 | (string & {})> | undefined;
readonly borderEndStartRadius?: import("csstype").Property.BorderEndStartRadius<0 | (string & {})> | undefined;
readonly borderImageOutset?: import("csstype").Property.BorderImageOutset<0 | (string & {})> | undefined;
readonly borderImageRepeat?: import("csstype").Property.BorderImageRepeat | undefined;
readonly borderImageSlice?: import("csstype").Property.BorderImageSlice | undefined;
readonly borderImageSource?: import("csstype").Property.BorderImageSource | undefined;
readonly borderImageWidth?: import("csstype").Property.BorderImageWidth<0 | (string & {})> | undefined;
readonly borderInlineColor?: import("csstype").Property.BorderInlineColor | undefined;
readonly borderInlineEndColor?: import("csstype").Property.BorderInlineEndColor | undefined;
readonly borderInlineEndStyle?: import("csstype").Property.BorderInlineEndStyle | undefined;
readonly borderInlineEndWidth?: import("csstype").Property.BorderInlineEndWidth<0 | (string & {})> | undefined;
readonly borderInlineStartColor?: import("csstype").Property.BorderInlineStartColor | undefined;
readonly borderInlineStartStyle?: import("csstype").Property.BorderInlineStartStyle | undefined;
readonly borderInlineStartWidth?: import("csstype").Property.BorderInlineStartWidth<0 | (string & {})> | undefined;
readonly borderInlineStyle?: import("csstype").Property.BorderInlineStyle | undefined;
readonly borderInlineWidth?: import("csstype").Property.BorderInlineWidth<0 | (string & {})> | undefined;
readonly borderLeftColor?: import("csstype").Property.BorderLeftColor | undefined;
readonly borderLeftStyle?: import("csstype").Property.BorderLeftStyle | undefined;
readonly borderLeftWidth?: import("csstype").Property.BorderLeftWidth<0 | (string & {})> | undefined;
readonly borderRightColor?: import("csstype").Property.BorderRightColor | undefined;
readonly borderRightStyle?: import("csstype").Property.BorderRightStyle | undefined;
readonly borderRightWidth?: import("csstype").Property.BorderRightWidth<0 | (string & {})> | undefined;
readonly borderSpacing?: import("csstype").Property.BorderSpacing<0 | (string & {})> | undefined;
readonly borderStartEndRadius?: import("csstype").Property.BorderStartEndRadius<0 | (string & {})> | undefined;
readonly borderStartStartRadius?: import("csstype").Property.BorderStartStartRadius<0 | (string & {})> | undefined;
readonly borderTopColor?: import("csstype").Property.BorderTopColor | undefined;
readonly borderTopLeftRadius?: import("csstype").Property.BorderTopLeftRadius<0 | (string & {})> | undefined;
readonly borderTopRightRadius?: import("csstype").Property.BorderTopRightRadius<0 | (string & {})> | undefined;
readonly borderTopStyle?: import("csstype").Property.BorderTopStyle | undefined;
readonly borderTopWidth?: import("csstype").Property.BorderTopWidth<0 | (string & {})> | undefined;
readonly bottom?: import("csstype").Property.Bottom<0 | (string & {})> | undefined;
readonly boxDecorationBreak?: import("csstype").Property.BoxDecorationBreak | undefined;
readonly boxShadow?: import("csstype").Property.BoxShadow | undefined;
readonly boxSizing?: import("csstype").Property.BoxSizing | undefined;
readonly breakAfter?: import("csstype").Property.BreakAfter | undefined;
readonly breakBefore?: import("csstype").Property.BreakBefore | undefined;
readonly breakInside?: import("csstype").Property.BreakInside | undefined;
readonly captionSide?: import("csstype").Property.CaptionSide | undefined;
readonly caretColor?: import("csstype").Property.CaretColor | undefined;
readonly caretShape?: import("csstype").Property.CaretShape | undefined;
readonly clear?: import("csstype").Property.Clear | undefined;
readonly clipPath?: import("csstype").Property.ClipPath | undefined;
readonly color?: import("csstype").Property.Color | undefined;
readonly colorAdjust?: import("csstype").Property.PrintColorAdjust | undefined;
readonly colorScheme?: import("csstype").Property.ColorScheme | undefined;
readonly columnCount?: import("csstype").Property.ColumnCount | undefined;
readonly columnFill?: import("csstype").Property.ColumnFill | undefined;
readonly columnGap?: import("csstype").Property.ColumnGap<0 | (string & {})> | undefined;
readonly columnRuleColor?: import("csstype").Property.ColumnRuleColor | undefined;
readonly columnRuleStyle?: import("csstype").Property.ColumnRuleStyle | undefined;
readonly columnRuleWidth?: import("csstype").Property.ColumnRuleWidth<0 | (string & {})> | undefined;
readonly columnSpan?: import("csstype").Property.ColumnSpan | undefined;
readonly columnWidth?: import("csstype").Property.ColumnWidth<0 | (string & {})> | undefined;
readonly contain?: import("csstype").Property.Contain | undefined;
readonly containIntrinsicBlockSize?: import("csstype").Property.ContainIntrinsicBlockSize<0 | (string & {})> | undefined;
readonly containIntrinsicHeight?: import("csstype").Property.ContainIntrinsicHeight<0 | (string & {})> | undefined;
readonly containIntrinsicInlineSize?: import("csstype").Property.ContainIntrinsicInlineSize<0 | (string & {})> | undefined;
readonly containIntrinsicWidth?: import("csstype").Property.ContainIntrinsicWidth<0 | (string & {})> | undefined;
readonly containerName?: import("csstype").Property.ContainerName | undefined;
readonly containerType?: import("csstype").Property.ContainerType | undefined;
readonly content?: import("csstype").Property.Content | undefined;
readonly contentVisibility?: import("csstype").Property.ContentVisibility | undefined;
readonly counterIncrement?: import("csstype").Property.CounterIncrement | undefined;
readonly counterReset?: import("csstype").Property.CounterReset | undefined;
readonly counterSet?: import("csstype").Property.CounterSet | undefined;
readonly cursor?: import("csstype").Property.Cursor | undefined;
readonly direction?: import("csstype").Property.Direction | undefined;
readonly display?: import("csstype").Property.Display | undefined;
readonly emptyCells?: import("csstype").Property.EmptyCells | undefined;
readonly filter?: import("csstype").Property.Filter | undefined;
readonly flexBasis?: import("csstype").Property.FlexBasis<0 | (string & {})> | undefined;
readonly flexDirection?: import("csstype").Property.FlexDirection | undefined;
readonly flexGrow?: import("csstype").Property.FlexGrow | undefined;
readonly flexShrink?: import("csstype").Property.FlexShrink | undefined;
readonly flexWrap?: import("csstype").Property.FlexWrap | undefined;
readonly float?: import("csstype").Property.Float | undefined;
readonly fontFamily?: import("csstype").Property.FontFamily | undefined;
readonly fontFeatureSettings?: import("csstype").Property.FontFeatureSettings | undefined;
readonly fontKerning?: import("csstype").Property.FontKerning | undefined;
readonly fontLanguageOverride?: import("csstype").Property.FontLanguageOverride | undefined;
readonly fontOpticalSizing?: import("csstype").Property.FontOpticalSizing | undefined;
readonly fontPalette?: import("csstype").Property.FontPalette | undefined;
readonly fontSize?: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
readonly fontSizeAdjust?: import("csstype").Property.FontSizeAdjust | undefined;
readonly fontSmooth?: import("csstype").Property.FontSmooth<0 | (string & {})> | undefined;
readonly fontStretch?: import("csstype").Property.FontStretch | undefined;
readonly fontStyle?: import("csstype").Property.FontStyle | undefined;
readonly fontSynthesis?: import("csstype").Property.FontSynthesis | undefined;
readonly fontSynthesisPosition?: import("csstype").Property.FontSynthesisPosition | undefined;
readonly fontSynthesisSmallCaps?: import("csstype").Property.FontSynthesisSmallCaps | undefined;
readonly fontSynthesisStyle?: import("csstype").Property.FontSynthesisStyle | undefined;
readonly fontSynthesisWeight?: import("csstype").Property.FontSynthesisWeight | undefined;
readonly fontVariant?: import("csstype").Property.FontVariant | undefined;
readonly fontVariantAlternates?: import("csstype").Property.FontVariantAlternates | undefined;
readonly fontVariantCaps?: import("csstype").Property.FontVariantCaps | undefined;
readonly fontVariantEastAsian?: import("csstype").Property.FontVariantEastAsian | undefined;
readonly fontVariantEmoji?: import("csstype").Property.FontVariantEmoji | undefined;
readonly fontVariantLigatures?: import("csstype").Property.FontVariantLigatures | undefined;
readonly fontVariantNumeric?: import("csstype").Property.FontVariantNumeric | undefined;
readonly fontVariantPosition?: import("csstype").Property.FontVariantPosition | undefined;
readonly fontVariationSettings?: import("csstype").Property.FontVariationSettings | undefined;
readonly fontWeight?: import("csstype").Property.FontWeight | undefined;
readonly forcedColorAdjust?: import("csstype").Property.ForcedColorAdjust | undefined;
readonly gridAutoColumns?: import("csstype").Property.GridAutoColumns<0 | (string & {})> | undefined;
readonly gridAutoFlow?: import("csstype").Property.GridAutoFlow | undefined;
readonly gridAutoRows?: import("csstype").Property.GridAutoRows<0 | (string & {})> | undefined;
readonly gridColumnEnd?: import("csstype").Property.GridColumnEnd | undefined;
readonly gridColumnStart?: import("csstype").Property.GridColumnStart | undefined;
readonly gridRowEnd?: import("csstype").Property.GridRowEnd | undefined;
readonly gridRowStart?: import("csstype").Property.GridRowStart | undefined;
readonly gridTemplateAreas?: import("csstype").Property.GridTemplateAreas | undefined;
readonly gridTemplateColumns?: import("csstype").Property.GridTemplateColumns<0 | (string & {})> | undefined;
readonly gridTemplateRows?: import("csstype").Property.GridTemplateRows<0 | (string & {})> | undefined;
readonly hangingPunctuation?: import("csstype").Property.HangingPunctuation | undefined;
readonly height?: import("csstype").Property.Height<0 | (string & {})> | undefined;
readonly hyphenateCharacter?: import("csstype").Property.HyphenateCharacter | undefined;
readonly hyphenateLimitChars?: import("csstype").Property.HyphenateLimitChars | undefined;
readonly hyphens?: import("csstype").Property.Hyphens | undefined;
readonly imageOrientation?: import("csstype").Property.ImageOrientation | undefined;
readonly imageRendering?: import("csstype").Property.ImageRendering | undefined;
readonly imageResolution?: import("csstype").Property.ImageResolution | undefined;
readonly initialLetter?: import("csstype").Property.InitialLetter | undefined;
readonly inlineSize?: import("csstype").Property.InlineSize<0 | (string & {})> | undefined;
readonly inputSecurity?: import("csstype").Property.InputSecurity | undefined;
readonly insetBlockEnd?: import("csstype").Property.InsetBlockEnd<0 | (string & {})> | undefined;
readonly insetBlockStart?: import("csstype").Property.InsetBlockStart<0 | (string & {})> | undefined;
readonly insetInlineEnd?: import("csstype").Property.InsetInlineEnd<0 | (string & {})> | undefined;
readonly insetInlineStart?: import("csstype").Property.InsetInlineStart<0 | (string & {})> | undefined;
readonly isolation?: import("csstype").Property.Isolation | undefined;
readonly justifyContent?: import("csstype").Property.JustifyContent | undefined;
readonly justifyItems?: import("csstype").Property.JustifyItems | undefined;
readonly justifySelf?: import("csstype").Property.JustifySelf | undefined;
readonly justifyTracks?: import("csstype").Property.JustifyTracks | undefined;
left: string | 0;
readonly letterSpacing?: import("csstype").Property.LetterSpacing<0 | (string & {})> | undefined;
readonly lineBreak?: import("csstype").Property.LineBreak | undefined;
readonly lineHeight?: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
readonly lineHeightStep?: import("csstype").Property.LineHeightStep<0 | (string & {})> | undefined;
readonly listStyleImage?: import("csstype").Property.ListStyleImage | undefined;
readonly listStylePosition?: import("csstype").Property.ListStylePosition | undefined;
readonly listStyleType?: import("csstype").Property.ListStyleType | undefined;
readonly marginBlockEnd?: import("csstype").Property.MarginBlockEnd<0 | (string & {})> | undefined;
readonly marginBlockStart?: import("csstype").Property.MarginBlockStart<0 | (string & {})> | undefined;
readonly marginBottom?: import("csstype").Property.MarginBottom<0 | (string & {})> | undefined;
readonly marginInlineEnd?: import("csstype").Property.MarginInlineEnd<0 | (string & {})> | undefined;
readonly marginInlineStart?: import("csstype").Property.MarginInlineStart<0 | (string & {})> | undefined;
readonly marginLeft?: import("csstype").Property.MarginLeft<0 | (string & {})> | undefined;
readonly marginRight?: import("csstype").Property.MarginRight<0 | (string & {})> | undefined;
readonly marginTop?: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
readonly marginTrim?: import("csstype").Property.MarginTrim | undefined;
readonly maskBorderMode?: import("csstype").Property.MaskBorderMode | undefined;
readonly maskBorderOutset?: import("csstype").Property.MaskBorderOutset<0 | (string & {})> | undefined;
readonly maskBorderRepeat?: import("csstype").Property.MaskBorderRepeat | undefined;
readonly maskBorderSlice?: import("csstype").Property.MaskBorderSlice | undefined;
readonly maskBorderSource?: import("csstype").Property.MaskBorderSource | undefined;
readonly maskBorderWidth?: import("csstype").Property.MaskBorderWidth<0 | (string & {})> | undefined;
readonly maskClip?: import("csstype").Property.MaskClip | undefined;
readonly maskComposite?: import("csstype").Property.MaskComposite | undefined;
readonly maskImage?: import("csstype").Property.MaskImage | undefined;
readonly maskMode?: import("csstype").Property.MaskMode | undefined;
readonly maskOrigin?: import("csstype").Property.MaskOrigin | undefined;
readonly maskPosition?: import("csstype").Property.MaskPosition<0 | (string & {})> | undefined;
readonly maskRepeat?: import("csstype").Property.MaskRepeat | undefined;
readonly maskSize?: import("csstype").Property.MaskSize<0 | (string & {})> | undefined;
readonly maskType?: import("csstype").Property.MaskType | undefined;
readonly masonryAutoFlow?: import("csstype").Property.MasonryAutoFlow | undefined;
readonly mathDepth?: import("csstype").Property.MathDepth | undefined;
readonly mathShift?: import("csstype").Property.MathShift | undefined;
readonly mathStyle?: import("csstype").Property.MathStyle | undefined;
readonly maxBlockSize?: import("csstype").Property.MaxBlockSize<0 | (string & {})> | undefined;
readonly maxHeight?: import("csstype").Property.MaxHeight<0 | (string & {})> | undefined;
readonly maxInlineSize?: import("csstype").Property.MaxInlineSize<0 | (string & {})> | undefined;
readonly maxLines?: import("csstype").Property.MaxLines | undefined;
readonly maxWidth?: import("csstype").Property.MaxWidth<0 | (string & {})> | undefined;
readonly minBlockSize?: import("csstype").Property.MinBlockSize<0 | (string & {})> | undefined;
readonly minHeight?: import("csstype").Property.MinHeight<0 | (string & {})> | undefined;
readonly minInlineSize?: import("csstype").Property.MinInlineSize<0 | (string & {})> | undefined;
minWidth: import("csstype").Property.MinWidth<0 | (string & {})>;
readonly mixBlendMode?: import("csstype").Property.MixBlendMode | undefined;
readonly motionDistance?: import("csstype").Property.OffsetDistance<0 | (string & {})> | undefined;
readonly motionPath?: import("csstype").Property.OffsetPath | undefined;
readonly motionRotation?: import("csstype").Property.OffsetRotate | undefined;
readonly objectFit?: import("csstype").Property.ObjectFit | undefined;
readonly objectPosition?: import("csstype").Property.ObjectPosition<0 | (string & {})> | undefined;
readonly offsetAnchor?: import("csstype").Property.OffsetAnchor<0 | (string & {})> | undefined;
readonly offsetDistance?: import("csstype").Property.OffsetDistance<0 | (string & {})> | undefined;
readonly offsetPath?: import("csstype").Property.OffsetPath | undefined;
readonly offsetPosition?: import("csstype").Property.OffsetPosition<0 | (string & {})> | undefined;
readonly offsetRotate?: import("csstype").Property.OffsetRotate | undefined;
readonly offsetRotation?: import("csstype").Property.OffsetRotate | undefined;
readonly opacity?: import("csstype").Property.Opacity | undefined;
readonly order?: import("csstype").Property.Order | undefined;
readonly orphans?: import("csstype").Property.Orphans | undefined;
readonly outlineColor?: import("csstype").Property.OutlineColor | undefined;
readonly outlineOffset?: import("csstype").Property.OutlineOffset<0 | (string & {})> | undefined;
readonly outlineStyle?: import("csstype").Property.OutlineStyle | undefined;
readonly outlineWidth?: import("csstype").Property.OutlineWidth<0 | (string & {})> | undefined;
readonly overflowAnchor?: import("csstype").Property.OverflowAnchor | undefined;
readonly overflowBlock?: import("csstype").Property.OverflowBlock | undefined;
readonly overflowClipBox?: import("csstype").Property.OverflowClipBox | undefined;
readonly overflowClipMargin?: import("csstype").Property.OverflowClipMargin<0 | (string & {})> | undefined;
readonly overflowInline?: import("csstype").Property.OverflowInline | undefined;
readonly overflowWrap?: import("csstype").Property.OverflowWrap | undefined;
readonly overflowX?: import("csstype").Property.OverflowX | undefined;
readonly overflowY?: import("csstype").Property.OverflowY | undefined;
readonly overlay?: import("csstype").Property.Overlay | undefined;
readonly overscrollBehaviorBlock?: import("csstype").Property.OverscrollBehaviorBlock | undefined;
readonly overscrollBehaviorInline?: import("csstype").Property.OverscrollBehaviorInline | undefined;
readonly overscrollBehaviorX?: import("csstype").Property.OverscrollBehaviorX | undefined;
readonly overscrollBehaviorY?: import("csstype").Property.OverscrollBehaviorY | undefined;
readonly paddingBlockEnd?: import("csstype").Property.PaddingBlockEnd<0 | (string & {})> | undefined;
readonly paddingBlockStart?: import("csstype").Property.PaddingBlockStart<0 | (string & {})> | undefined;
readonly paddingBottom?: import("csstype").Property.PaddingBottom<0 | (string & {})> | undefined;
readonly paddingInlineEnd?: import("csstype").Property.PaddingInlineEnd<0 | (string & {})> | undefined;
readonly paddingInlineStart?: import("csstype").Property.PaddingInlineStart<0 | (string & {})> | undefined;
readonly paddingLeft?: import("csstype").Property.PaddingLeft<0 | (string & {})> | undefined;
readonly paddingRight?: import("csstype").Property.PaddingRight<0 | (string & {})> | undefined;
readonly paddingTop?: import("csstype").Property.PaddingTop<0 | (string & {})> | undefined;
readonly page?: import("csstype").Property.Page | undefined;
readonly pageBreakAfter?: import("csstype").Property.PageBreakAfter | undefined;
readonly pageBreakBefore?: import("csstype").Property.PageBreakBefore | undefined;
readonly pageBreakInside?: import("csstype").Property.PageBreakInside | undefined;
readonly paintOrder?: import("csstype").Property.PaintOrder | undefined;
readonly perspective?: import("csstype").Property.Perspective<0 | (string & {})> | undefined;
readonly perspectiveOrigin?: import("csstype").Property.PerspectiveOrigin<0 | (string & {})> | undefined;
readonly pointerEvents?: import("csstype").Property.PointerEvents | undefined;
position: "relative" | "absolute" | "inherit" | "fixed" | "sticky" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | "-webkit-sticky" | "static";
readonly printColorAdjust?: import("csstype").Property.PrintColorAdjust | undefined;
readonly quotes?: import("csstype").Property.Quotes | undefined;
readonly resize?: import("csstype").Property.Resize | undefined;
readonly right?: import("csstype").Property.Right<0 | (string & {})> | undefined;
readonly rotate?: import("csstype").Property.Rotate | undefined;
readonly rowGap?: import("csstype").Property.RowGap<0 | (string & {})> | undefined;
readonly rubyAlign?: import("csstype").Property.RubyAlign | undefined;
readonly rubyMerge?: import("csstype").Property.RubyMerge | undefined;
readonly rubyPosition?: import("csstype").Property.RubyPosition | undefined;
readonly scale?: import("csstype").Property.Scale | undefined;
readonly scrollBehavior?: import("csstype").Property.ScrollBehavior | undefined;
readonly scrollMarginBlockEnd?: import("csstype").Property.ScrollMarginBlockEnd<0 | (string & {})> | undefined;
readonly scrollMarginBlockStart?: import("csstype").Property.ScrollMarginBlockStart<0 | (string & {})> | undefined;
readonly scrollMarginBottom?: import("csstype").Property.ScrollMarginBottom<0 | (string & {})> | undefined;
readonly scrollMarginInlineEnd?: import("csstype").Property.ScrollMarginInlineEnd<0 | (string & {})> | undefined;
readonly scrollMarginInlineStart?: import("csstype").Property.ScrollMarginInlineStart<0 | (string & {})> | undefined;
readonly scrollMarginLeft?: import("csstype").Property.ScrollMarginLeft<0 | (string & {})> | undefined;
readonly scrollMarginRight?: import("csstype").Property.ScrollMarginRight<0 | (string & {})> | undefined;
readonly scrollMarginTop?: import("csstype").Property.ScrollMarginTop<0 | (string & {})> | undefined;
readonly scrollPaddingBlockEnd?: import("csstype").Property.ScrollPaddingBlockEnd<0 | (string & {})> | undefined;
readonly scrollPaddingBlockStart?: import("csstype").Property.ScrollPaddingBlockStart<0 | (string & {})> | undefined;
readonly scrollPaddingBottom?: import("csstype").Property.ScrollPaddingBottom<0 | (string & {})> | undefined;
readonly scrollPaddingInlineEnd?: import("csstype").Property.ScrollPaddingInlineEnd<0 | (string & {})> | undefined;
readonly scrollPaddingInlineStart?: import("csstype").Property.ScrollPaddingInlineStart<0 | (string & {})> | undefined;
readonly scrollPaddingLeft?: import("csstype").Property.ScrollPaddingLeft<0 | (string & {})> | undefined;
readonly scrollPaddingRight?: import("csstype").Property.ScrollPaddingRight<0 | (string & {})> | undefined;
readonly scrollPaddingTop?: import("csstype").Property.ScrollPaddingTop<0 | (string & {})> | undefined;
readonly scrollSnapAlign?: import("csstype").Property.ScrollSnapAlign | undefined;
readonly scrollSnapMarginBottom?: import("csstype").Property.ScrollMarginBottom<0 | (string & {})> | undefined;
readonly scrollSnapMarginLeft?: import("csstype").Property.ScrollMarginLeft<0 | (string & {})> | undefined;
readonly scrollSnapMarginRight?: import("csstype").Property.ScrollMarginRight<0 | (string & {})> | undefined;
readonly scrollSnapMarginTop?: import("csstype").Property.ScrollMarginTop<0 | (string & {})> | undefined;
readonly scrollSnapStop?: import("csstype").Property.ScrollSnapStop | undefined;
readonly scrollSnapType?: import("csstype").Property.ScrollSnapType | undefined;
readonly scrollTimelineAxis?: import("csstype").Property.ScrollTimelineAxis | undefined;
readonly scrollTimelineName?: import("csstype").Property.ScrollTimelineName | undefined;
readonly scrollbarColor?: import("csstype").Property.ScrollbarColor | undefined;
readonly scrollbarGutter?: import("csstype").Property.ScrollbarGutter | undefined;
readonly scrollbarWidth?: import("csstype").Property.ScrollbarWidth | undefined;
readonly shapeImageThreshold?: import("csstype").Property.ShapeImageThreshold | undefined;
readonly shapeMargin?: import("csstype").Property.ShapeMargin<0 | (string & {})> | undefined;
readonly shapeOutside?: import("csstype").Property.ShapeOutside | undefined;
readonly tabSize?: import("csstype").Property.TabSize<0 | (string & {})> | undefined;
readonly tableLayout?: import("csstype").Property.TableLayout | undefined;
readonly textAlign?: import("csstype").Property.TextAlign | undefined;
readonly textAlignLast?: import("csstype").Property.TextAlignLast | undefined;
readonly textCombineUpright?: import("csstype").Property.TextCombineUpright | undefined;
readonly textDecorationColor?: import("csstype").Property.TextDecorationColor | undefined;
readonly textDecorationLine?: import("csstype").Property.TextDecorationLine | undefined;
readonly textDecorationSkip?: import("csstype").Property.TextDecorationSkip | undefined;
readonly textDecorationSkipInk?: import("csstype").Property.TextDecorationSkipInk | undefined;
readonly textDecorationStyle?: import("csstype").Property.TextDecorationStyle | undefined;
readonly textDecorationThickness?: import("csstype").Property.TextDecorationThickness<0 | (string & {})> | undefined;
readonly textEmphasisColor?: import("csstype").Property.TextEmphasisColor | undefined;
readonly textEmphasisPosition?: import("csstype").Property.TextEmphasisPosition | undefined;
readonly textEmphasisStyle?: import("csstype").Property.TextEmphasisStyle | undefined;
readonly textIndent?: import("csstype").Property.TextIndent<0 | (string & {})> | undefined;
readonly textJustify?: import("csstype").Property.TextJustify | undefined;
readonly textOrientation?: import("csstype").Property.TextOrientation | undefined;
readonly textOverflow?: import("csstype").Property.TextOverflow | undefined;
readonly textRendering?: import("csstype").Property.TextRendering | undefined;
readonly textShadow?: import("csstype").Property.TextShadow | undefined;
readonly textSizeAdjust?: import("csstype").Property.TextSizeAdjust | undefined;
readonly textTransform?: import("csstype").Property.TextTransform | undefined;
readonly textUnderlineOffset?: import("csstype").Property.TextUnderlineOffset<0 | (string & {})> | undefined;
readonly textUnderlinePosition?: import("csstype").Property.TextUnderlinePosition | undefined;
readonly textWrap?: import("csstype").Property.TextWrap | undefined;
readonly timelineScope?: import("csstype").Property.TimelineScope | undefined;
top: string | 0;
readonly touchAction?: import("csstype").Property.TouchAction | undefined;
transform: string | undefined;
readonly transformBox?: import("csstype").Property.TransformBox | undefined;
readonly transformOrigin?: import("csstype").Property.TransformOrigin<0 | (string & {})> | undefined;
readonly transformStyle?: import("csstype").Property.TransformStyle | undefined;
readonly transitionBehavior?: import("csstype").Property.TransitionBehavior | undefined;
readonly transitionDelay?: import("csstype").Property.TransitionDelay<string & {}> | undefined;
readonly transitionDuration?: import("csstype").Property.TransitionDuration<string & {}> | undefined;
readonly transitionProperty?: import("csstype").Property.TransitionProperty | undefined;
readonly transitionTimingFunction?: import("csstype").Property.TransitionTimingFunction | undefined;
readonly translate?: import("csstype").Property.Translate<0 | (string & {})> | undefined;
readonly unicodeBidi?: import("csstype").Property.UnicodeBidi | undefined;
readonly userSelect?: import("csstype").Property.UserSelect | undefined;
readonly verticalAlign?: import("csstype").Property.VerticalAlign<0 | (string & {})> | undefined;
readonly viewTimelineAxis?: import("csstype").Property.ViewTimelineAxis | undefined;
readonly viewTimelineInset?: import("csstype").Property.ViewTimelineInset<0 | (string & {})> | undefined;
readonly viewTimelineName?: import("csstype").Property.ViewTimelineName | undefined;
readonly viewTransitionName?: import("csstype").Property.ViewTransitionName | undefined;
visibility?: string | undefined;
readonly whiteSpace?: import("csstype").Property.WhiteSpace | undefined;
readonly whiteSpaceCollapse?: import("csstype").Property.WhiteSpaceCollapse | undefined;
readonly whiteSpaceTrim?: import("csstype").Property.WhiteSpaceTrim | undefined;
readonly widows?: import("csstype").Property.Widows | undefined;
readonly width?: import("csstype").Property.Width<0 | (string & {})> | undefined;
willChange?: string;
readonly wordBreak?: import("csstype").Property.WordBreak | undefined;
readonly wordSpacing?: import("csstype").Property.WordSpacing<0 | (string & {})> | undefined;
readonly wordWrap?: import("csstype").Property.WordWrap | undefined;
readonly writingMode?: import("csstype").Property.WritingMode | undefined;
zIndex: string | (number & {}) | undefined;
readonly zoom?: import("csstype").Property.Zoom | undefined;
readonly all?: import("csstype").Property.All | undefined;
readonly animation?: import("csstype").Property.Animation<string & {}> | undefined;
readonly animationRange?: import("csstype").Property.AnimationRange<0 | (string & {})> | undefined;
readonly background?: import("csstype").Property.Background<0 | (string & {})> | undefined;
readonly backgroundPosition?: import("csstype").Property.BackgroundPosition<0 | (string & {})> | undefined;
readonly border?: import("csstype").Property.Border<0 | (string & {})> | undefined;
readonly borderBlock?: import("csstype").Property.BorderBlock<0 | (string & {})> | undefined;
readonly borderBlockEnd?: import("csstype").Property.BorderBlockEnd<0 | (string & {})> | undefined;
readonly borderBlockStart?: import("csstype").Property.BorderBlockStart<0 | (string & {})> | undefined;
readonly borderBottom?: import("csstype").Property.BorderBottom<0 | (string & {})> | undefined;
readonly borderColor?: import("csstype").Property.BorderColor | undefined;
readonly borderImage?: import("csstype").Property.BorderImage | undefined;
readonly borderInline?: import("csstype").Property.BorderInline<0 | (string & {})> | undefined;
readonly borderInlineEnd?: import("csstype").Property.BorderInlineEnd<0 | (string & {})> | undefined;
readonly borderInlineStart?: import("csstype").Property.BorderInlineStart<0 | (string & {})> | undefined;
readonly borderLeft?: import("csstype").Property.BorderLeft<0 | (string & {})> | undefined;
readonly borderRadius?: import("csstype").Property.BorderRadius<0 | (string & {})> | undefined;
readonly borderRight?: import("csstype").Property.BorderRight<0 | (string & {})> | undefined;
readonly borderStyle?: import("csstype").Property.BorderStyle | undefined;
readonly borderTop?: import("csstype").Property.BorderTop<0 | (string & {})> | undefined;
readonly borderWidth?: import("csstype").Property.BorderWidth<0 | (string & {})> | undefined;
readonly caret?: import("csstype").Property.Caret | undefined;
readonly columnRule?: import("csstype").Property.ColumnRule<0 | (string & {})> | undefined;
readonly columns?: import("csstype").Property.Columns<0 | (string & {})> | undefined;
readonly containIntrinsicSize?: import("csstype").Property.ContainIntrinsicSize<0 | (string & {})> | undefined;
readonly container?: import("csstype").Property.Container | undefined;
readonly flex?: import("csstype").Property.Flex<0 | (string & {})> | undefined;
readonly flexFlow?: import("csstype").Property.FlexFlow | undefined;
readonly font?: import("csstype").Property.Font | undefined;
readonly gap?: import("csstype").Property.Gap<0 | (string & {})> | undefined;
readonly grid?: import("csstype").Property.Grid | undefined;
readonly gridArea?: import("csstype").Property.GridArea | undefined;
readonly gridColumn?: import("csstype").Property.GridColumn | undefined;
readonly gridRow?: import("csstype").Property.GridRow | undefined;
readonly gridTemplate?: import("csstype").Property.GridTemplate | undefined;
readonly inset?: import("csstype").Property.Inset<0 | (string & {})> | undefined;
readonly insetBlock?: import("csstype").Property.InsetBlock<0 | (string & {})> | undefined;
readonly insetInline?: import("csstype").Property.InsetInline<0 | (string & {})> | undefined;
readonly lineClamp?: import("csstype").Property.LineClamp | undefined;
readonly listStyle?: import("csstype").Property.ListStyle | undefined;
readonly margin?: import("csstype").Property.Margin<0 | (string & {})> | undefined;
readonly marginBlock?: import("csstype").Property.MarginBlock<0 | (string & {})> | undefined;
readonly marginInline?: import("csstype").Property.MarginInline<0 | (string & {})> | undefined;
readonly mask?: import("csstype").Property.Mask<0 | (string & {})> | undefined;
readonly maskBorder?: import("csstype").Property.MaskBorder | undefined;
readonly motion?: import("csstype").Property.Offset<0 | (string & {})> | undefined;
readonly offset?: import("csstype").Property.Offset<0 | (string & {})> | undefined;
readonly outline?: import("csstype").Property.Outline<0 | (string & {})> | undefined;
readonly overflow?: import("csstype").Property.Overflow | undefined;
readonly overscrollBehavior?: import("csstype").Property.OverscrollBehavior | undefined;
readonly padding?: import("csstype").Property.Padding<0 | (string & {})> | undefined;
readonly paddingBlock?: import("csstype").Property.PaddingBlock<0 | (string & {})> | undefined;
readonly paddingInline?: import("csstype").Property.PaddingInline<0 | (string & {})> | undefined;
readonly placeContent?: import("csstype").Property.PlaceContent | undefined;
readonly placeItems?: import("csstype").Property.PlaceItems | undefined;
readonly placeSelf?: import("csstype").Property.PlaceSelf | undefined;
readonly scrollMargin?: import("csstype").Property.ScrollMargin<0 | (string & {})> | undefined;
readonly scrollMarginBlock?: import("csstype").Property.ScrollMarginBlock<0 | (string & {})> | undefined;
readonly scrollMarginInline?: import("csstype").Property.ScrollMarginInline<0 | (string & {})> | undefined;
readonly scrollPadding?: import("csstype").Property.ScrollPadding<0 | (string & {})> | undefined;
readonly scrollPaddingBlock?: import("csstype").Property.ScrollPaddingBlock<0 | (string & {})> | undefined;
readonly scrollPaddingInline?: import("csstype").Property.ScrollPaddingInline<0 | (string & {})> | undefined;
readonly scrollSnapMargin?: import("csstype").Property.ScrollMargin<0 | (string & {})> | undefined;
readonly scrollTimeline?: import("csstype").Property.ScrollTimeline | undefined;
readonly textDecoration?: import("csstype").Property.TextDecoration<0 | (string & {})> | undefined;
readonly textEmphasis?: import("csstype").Property.TextEmphasis | undefined;
readonly transition?: import("csstype").Property.Transition<string & {}> | undefined;
readonly viewTimeline?: import("csstype").Property.ViewTimeline | undefined;
readonly MozAnimationDelay?: import("csstype").Property.AnimationDelay<string & {}> | undefined;
readonly MozAnimationDirection?: import("csstype").Property.AnimationDirection | undefined;
readonly MozAnimationDuration?: import("csstype").Property.AnimationDuration<string & {}> | undefined;
readonly MozAnimationFillMode?: import("csstype").Property.AnimationFillMode | undefined;
readonly MozAnimationIterationCount?: import("csstype").Property.AnimationIterationCount | undefined;
readonly MozAnimationName?: import("csstype").Property.AnimationName | undefined;
readonly MozAnimationPlayState?: import("csstype").Property.AnimationPlayState | undefined;
readonly MozAnimationTimingFunction?: import("csstype").Property.AnimationTimingFunction | undefined;
readonly MozAppearance?: import("csstype").Property.MozAppearance | undefined;
readonly MozBinding?: import("csstype").Property.MozBinding | undefined;
readonly MozBorderBottomColors?: import("csstype").Property.MozBorderBottomColors | undefined;
readonly MozBorderEndColor?: import("csstype").Property.BorderInlineEndColor | undefined;
readonly MozBorderEndStyle?: import("csstype").Property.BorderInlineEndStyle | undefined;
readonly MozBorderEndWidth?: import("csstype").Property.BorderInlineEndWidth<0 | (string & {})> | undefined;
readonly MozBorderLeftColors?: import("csstype").Property.MozBorderLeftColors | undefined;
readonly MozBorderRightColors?: import("csstype").Property.MozBorderRightColors | undefined;
readonly MozBorderStartColor?: import("csstype").Property.BorderInlineStartColor | undefined;
readonly MozBorderStartStyle?: import("csstype").Property.BorderInlineStartStyle | undefined;
readonly MozBorderTopColors?: import("csstype").Property.MozBorderTopColors | undefined;
readonly MozBoxSizing?: import("csstype").Property.BoxSizing | undefined;
readonly MozColumnCount?: import("csstype").Property.ColumnCount | undefined;
readonly MozColumnFill?: import("csstype").Property.ColumnFill | undefined;
readonly MozColumnRuleColor?: import("csstype").Property.ColumnRuleColor | undefined;
readonly MozColumnRuleStyle?: import("csstype").Property.ColumnRuleStyle | undefined;
readonly MozColumnRuleWidth?: import("csstype").Property.ColumnRuleWidth<0 | (string & {})> | undefined;
readonly MozColumnWidth?: import("csstype").Property.ColumnWidth<0 | (string & {})> | undefined;
readonly MozContextProperties?: import("csstype").Property.MozContextProperties | undefined;
readonly MozFontFeatureSettings?: import("csstype").Property.FontFeatureSettings | undefined;
readonly MozFontLanguageOverride?: import("csstype").Property.FontLanguageOverride | undefined;
readonly MozHyphens?: import