//#region src/gui/FitScaleHelpers.d.ts /** * Determines if an element needs FitScale wrapping based on its parent container * and whether it has explicit size. * * FitScale is needed when: * - Parent is a grid container (grid or flex display) * - Element doesn't have explicit width/height * * @param parentElement - The parent element (can be HTMLElement or null) * @param elementHasExplicitSize - Whether the element has explicit width/height * @returns true if FitScale should be applied * * @public */ declare function needsFitScale(parentElement: HTMLElement | null, elementHasExplicitSize: boolean): boolean; /** * Determines if an element needs FitScale wrapping by checking computed styles. * This is a convenience function that reads the element's computed style to check * for explicit size. * * @param element - The element to check * @param parentElement - The parent element (can be HTMLElement or null) * @returns true if FitScale should be applied * * @public */ declare function elementNeedsFitScale(element: HTMLElement, parentElement: HTMLElement | null): boolean; //#endregion export { elementNeedsFitScale, needsFitScale }; //# sourceMappingURL=FitScaleHelpers.d.ts.map