interface ApplyBaseThemeArgs { theme: object; [key: string]: unknown; } /** * To be used by a styled component, this util applies Carbon's base theme to the component if no theme is provided from a parent `ThemeProvider`. * Otherwise, it preserves the provided theme. * * `className` is destructured to prevent it being spread back on the styled-component and duplicated. * * @see {@link https://styled-components.com/docs/api#themeprovider | `ThemeProvider`} docs */ declare const _default: ({ theme, className, ...props }: ApplyBaseThemeArgs) => { theme: object; }; export default _default;