/** * Copyright (c) 2026, Salesforce, Inc., * All rights reserved. * For full license text, see the LICENSE.txt file */ /** * Style value with both inline and computed values. * - inline: the raw value from element.style (what was explicitly set via * the style attribute). * - computed: the browser-resolved value after the full cascade. */ interface StyleValue { inline: string; computed: string; } /** * Complete element styles snapshot */ interface ElementStyles { width: StyleValue; minWidth: StyleValue; maxWidth: StyleValue; height: StyleValue; minHeight: StyleValue; maxHeight: StyleValue; overflow: StyleValue; padding: StyleValue; margin: StyleValue; backgroundColor: StyleValue; borderWidth: StyleValue; borderStyle: StyleValue; borderColor: StyleValue; borderRadius: StyleValue; color: StyleValue; fontFamily: StyleValue; fontSize: StyleValue; fontWeight: StyleValue; fontStyle: StyleValue; lineHeight: StyleValue; letterSpacing: StyleValue; textAlign: StyleValue; textDecoration: StyleValue; textTransform: StyleValue; } /** * Get all style values relevant to UI controls for an element. * Each property returns { inline, computed } where inline is the raw * element.style value and computed is the browser-resolved value. * @param element - The HTML element to extract styles from * @returns Plain-object snapshot safe for postMessage */ export declare function getElementStyles(element: HTMLElement | null | undefined): Partial; export {}; //# sourceMappingURL=cssUtils.d.ts.map