import { ChildComponent } from '../../../domain/types/index.js'; /** * v0.4.1: Determine the layout role of a component from its style props. */ export declare function determineLayoutRole(propsStr: string, styleSheet: Record>, componentName: string): ChildComponent['childRole']; /** * v0.4.1: Extract zIndex from style props. */ export declare function extractZIndex(propsStr: string, styleSheet: Record>, componentName: string): number | undefined; /** * v0.4.1: Calculate re-render potential score (1-10) based on * non-memoized props passed to the component. * * Scoring: * - +1 for each inline function prop (onPress, onChange, etc.) * - +1 for each inline object prop (style, data, etc.) * - +1 for each inline array prop * - +2 if the component has conditional rendering * - +1 if the component has no onLayout (unstable measurement) * - Cap at 10 */ export declare function calculateReRenderScore(propsStr: string): number; //# sourceMappingURL=style-resolver.d.ts.map