import React from "react";
import type { AkselColor } from "../types/index.js";
import type { AsChildProps } from "../utils/types/index.js";
type ThemeContext = {
    /**
     * Color theme.
     * @default Inherits parent theme, or "light" if root.
     */
    theme?: "light" | "dark";
    color?: AkselColor;
    /**
     * Indicates if Theme-component is on root-level or not.
     */
    isRoot: boolean;
};
declare const useThemeInternal: () => ThemeContext;
export type ThemeProps = {
    className?: string;
    /**
     * Whether to apply the default background.
     * @default `true` if this is the root instance and `theme` is defined, otherwise `false`.
     */
    hasBackground?: boolean;
    /**
     * Changes default 'base'-color for application.
     */
    "data-color"?: AkselColor;
} & Omit<ThemeContext, "color" | "isRoot"> & AsChildProps;
declare const Theme: React.ForwardRefExoticComponent<ThemeProps & React.RefAttributes<HTMLDivElement>>;
export { Theme, useThemeInternal };
