import { Breakpoints, Theme } from './theme'; /** * Fades a color toward transparent. Native CSS rather than a JS color library * so the input can be any valid CSS color value, including a `var(--token)` * reference that only the browser can resolve. */ export declare const alpha: (color: string, percent: number) => string; /** Darkens a color by mixing it toward black. See `alpha` for why it is CSS. */ export declare const shade: (color: string, percent: number) => string; /** Lightens a color by mixing it toward white. See `alpha` for why it is CSS. */ export declare const tint: (color: string, percent: number) => string; /** The solid primary fill: the theme's `primaryFill`, else `primary`. */ export declare const primaryFillColor: (theme: Theme) => string; /** The solid primary fill on hover: a shade of `primaryFill`, else `primaryDark`. */ export declare const primaryFillHoverColor: (theme: Theme) => string; /** * Hover and emphasis text on a surface: the theme's `accent` when it sets * one, else the end of the primary ramp that contrasts with the mode, * `primaryDark` in light mode and `primaryLight` in dark mode. */ export declare const accentColor: (theme: Theme) => string; /** * The link color: the theme's `link` when it sets one, else `primary` in * light mode and `dark` in dark mode. */ export declare const linkColor: (theme: Theme) => string; /** Which primary tint a surface takes: hovered, dragged over, or active. */ export type PrimaryTintKind = "hover" | "drop" | "active"; /** * A primary tint behind a surface: the theme's `primaryTintHover`, * `primaryTintDrop` or `primaryTintActive` when it sets one, else `primary` * faded to the mode's amount. */ export declare const primaryTintColor: (theme: Theme, kind: PrimaryTintKind) => string; /** * The dark-mode tint restated as a rule scoped to a `dark` class on , * for apps that resolve the mode in CSS before hydration can swap the theme * object. Empty when the theme sets the token: a token already follows the * mode, and the rule would override it inside a light-mode island. */ export declare const darkPrimaryTintRule: (theme: Theme, kind: PrimaryTintKind) => string; /** Which fill a label sits on, so a theme's `onPrimary` can answer for its own. */ export type FilledTextFill = "primary" | "other"; /** * Text color for a label sitting on a brand-colored fill: the theme's * `onPrimary` on a primary fill when it sets one, else the theme's * `onFilled`, else the palette's contrasting end, `light` in light mode and * `dark` in dark mode. */ export declare const filledTextColor: (theme: Theme, fill?: FilledTextFill) => string; /** * The same choice restated as a rule scoped to a `dark` class on , which * is what apps resolving the mode in CSS key off before hydration can swap the * theme object. Additive: with an already-dark theme object both paths resolve * to the same color. A dark theme object's `onPrimary` answers for a primary * fill; a light one under the class cannot know the dark value, so it keeps * the palette's `dark`. Empty when the theme sets `onFilled`: its tokens * already follow the mode. Interpolate alongside `filledTextColor`. */ export declare const darkFilledTextRule: (theme: Theme, fill?: FilledTextFill) => string; /** * Slim, theme-aware scrollbar for internal scroll areas (chat transcripts, code * blocks, tables) so the chunky native bar doesn't stand out, especially in * dark mode. */ export declare const thinScrollbar: import('styled-components').RuleSet>; /** * Hover/focus/active affordance for interactive surfaces (cards, tiles, * links-as-blocks): a transparent 1px border that picks up the primary color * on hover, with a soft focus ring. Pair with resetButton for clickable * elements that aren't Buttons. */ export declare const interactiveStyles: import('styled-components').RuleSet>; /** * The destructive-action sibling of interactiveStyles: identical * hover/focus/active border + ring behavior, but in the theme error red (the * same red the $error Button uses). Use for delete/remove affordances. */ export declare const errorInteractiveStyles: import('styled-components').RuleSet>; export declare const resetButton: import('styled-components').RuleSet; export declare const resetInput: import('styled-components').RuleSet; export declare const fullWidthStyles: (fullWidth?: boolean) => import('styled-components').RuleSet | undefined; export declare const statusBorderStyles: ($error?: boolean, $success?: boolean, theme?: Theme) => import('styled-components').RuleSet | undefined; export declare const formElementHeightStyles: ($size?: "default" | "big" | "small") => import('styled-components').RuleSet; export declare const generateGapStyles: (size: keyof Breakpoints, gap: number | "none") => import('styled-components').RuleSet; export declare const generateColsStyles: (size: keyof Breakpoints, cols: number) => import('styled-components').RuleSet; export declare const generateColSpanStyles: (size: keyof Breakpoints, span: number) => import('styled-components').RuleSet; export declare const generatePaddingStyles: (size: keyof Breakpoints, padding: number | "none") => import('styled-components').RuleSet; export declare const generateJustifyContentStyles: (size: keyof Breakpoints, justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly") => import('styled-components').RuleSet; export declare const generateAlignItemsStyles: (size: keyof Breakpoints, alignItems?: "stretch" | "center" | "flex-start" | "flex-end" | "baseline") => import('styled-components').RuleSet; export declare const generateAlignContentStyles: (size: keyof Breakpoints, alignContent?: "stretch" | "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly") => import('styled-components').RuleSet; export declare const generateDirectionStyles: (size: keyof Breakpoints, direction?: "row" | "column" | "row-reverse" | "column-reverse") => import('styled-components').RuleSet;