public static function getSizesFor(string $size, string $type, int $pageUid): array
    {
        $settings = ColumnLayoutUtility::getColumnLayoutSettings($pageUid);

        if (!array_key_exists($size . '.', $settings['sizes.'])) {
            throw new Exception(sprintf('The given size "%s" is not defined in the gridsystem', $size), 1520324173);
        }

        if (!array_key_exists($type, $settings['sizes.'][$size . '.'])) {
            throw new Exception(sprintf('The given type "%s" does not exist for size "%s"', $type, $size), 1520324252);
        }

        return ColumnLayoutUtility::processColumnSizes($settings['sizes.'][$size . '.'][$type], $settings['columnsCount']);
    }