import { ElementType } from 'react'; import { CssRkta, RktaThemed, RktaTheme } from './theme'; import { Resolver, ElementResolverProps } from './getElement.type'; export declare type NextProps = { [key: string]: CssRkta | React.ReactNode; }; export declare type NextPropsAndElementType = [NextProps, React.ElementType]; export declare type useStylesFunctionType = (props: RktaThemed, ...names: string[]) => NextPropsAndElementType; declare type ApplyStylesArgType = { composition: string[]; getElement: Resolver; memo?: boolean; props: RktaThemed & ElementResolverProps & { element?: ElementType; }; theme: RktaTheme; }; export declare const useStyles: ({ props: { memo, ...props }, ...rest }: ApplyStylesArgType) => NextPropsAndElementType; export {}; //# sourceMappingURL=useStyles.d.ts.map