import { CSSProperties } from 'react'; import { ThemeOrAny } from 'treat/theme'; import { LiteralUnion, ValueOf } from 'type-fest'; import { Tokens } from './theme'; declare type ResolveShorthand> = ValueOf; declare type ResolveAlias> = ThemeOrAny['aliases'][T] extends Tokens<'shorthands'> ? ResolveShorthand : ThemeOrAny['aliases'][T]; declare type ScaleKeys = LiteralUnion>]], ValueOf>, ValueOf>; export declare type ThemedStyle = CSSProperties & { [key in Tokens<'matchers'>]?: ScaleKeys; } & { [key in Tokens<'shorthands'>]?: ScaleKeys>; } & { [key in Tokens<'aliases'>]?: ScaleKeys>; }; export declare function useStyling(): (themedStyle: ThemedStyle) => string; export {}; //# sourceMappingURL=useStyling.d.ts.map