import "react";
import "react/jsx-runtime";
import { useMantineTheme } from "../../MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs";
import { resolveClassNames } from "../use-styles/get-class-name/resolve-class-names/resolve-class-names.mjs";
import { resolveStyles } from "../use-styles/get-style/resolve-styles/resolve-styles.mjs";
function useResolvedStylesApi({
  classNames,
  styles,
  props,
  stylesCtx
}) {
  const theme = useMantineTheme();
  return {
    resolvedClassNames: resolveClassNames({
      theme,
      classNames,
      props,
      stylesCtx: stylesCtx || void 0
    }),
    resolvedStyles: resolveStyles({
      theme,
      styles,
      props,
      stylesCtx: stylesCtx || void 0
    })
  };
}
export {
  useResolvedStylesApi
};
