//#region src/elements/ContainerInfo.d.ts /** * Container information interface for elements that can contain children. * Provides information about container capabilities and display mode. */ interface ContainerInfo { /** * Whether this element is a container that can contain children. */ isContainer: boolean; /** * The display mode of the container. * "flex" | "grid" | "block" | null */ displayMode: "flex" | "grid" | "block" | null; /** * Whether this container can contain children. * This may differ from isContainer if the container is not configured to accept children. */ canContainChildren: boolean; } /** * Helper function to get container info from any HTMLElement. * Reads computed styles to determine display mode. */ declare function getContainerInfoFromElement(element: HTMLElement | null): ContainerInfo; //#endregion export { ContainerInfo, getContainerInfoFromElement }; //# sourceMappingURL=ContainerInfo.d.ts.map