@noema/hyle
Version:
15 lines (14 loc) • 562 B
TypeScript
/**
* Helper function to categorize props into sprinkled, primitive, and rest
*/
export declare function categorizeProps<T extends Record<string, any>>(props: T, sprinklesProperties: Set<string>, hyleStyle: {
styles: Record<string, any>;
shorthands?: Record<string, any>;
}): {
sprinkled: Record<string, any>;
primitive: Record<string, any>;
shorthands: Record<string, any>;
rest: Record<string, any>;
};
export declare const UNITLESS: Record<string, boolean>;
export declare function resolveValue(key: string, value: unknown): string;