import type { Condition, CreateTransitionCSSParams, StateEffect, StyleProperty } from './types'; export declare function roundNumber(num: number, precision?: number): number; export declare function isTemplatedKey(key: string): boolean; export declare function camelToKebabCase(property: string): string; /** * Applies a selector condition predicate to a base selector. * - If `&` is in the predicate, replace `&` with the base selector * - If no `&`, assume `&` (append predicate to base selector) */ export declare function applySelectorCondition(baseSelector: string, predicate: string): string; export declare function generateId(): string; /** * Resolves the style properties of a state effect - `transition.styleProperties` wins * when both are set - with property names normalized to the kebab-case form CSS expects. * Property names may be authored in either camelCase or kebab-case. */ export declare function getStateStyleProperties(transitionEffect: Pick): StyleProperty[]; export declare function transitionEffectToTransitionsList(transitionEffect: StateEffect): string[]; export declare function createTransitionCSS({ key, effectId, transition, transitionProperties, childSelector, selectorCondition, }: CreateTransitionCSSParams): string[]; export declare function getFullPredicateByType(conditionNames: string[] | undefined, conditions: Record, type: 'media' | 'container'): string; export declare function getMediaQuery(conditionNames: string[] | undefined, conditions: Record): "" | MediaQueryList; export declare function getSelectorCondition(conditionNames: string[] | undefined, conditions: Record): string | undefined; //# sourceMappingURL=utils.d.ts.map