export declare const zLvlOrders: number[];
export declare const functionInterval: number[][];
export declare const colorFunction = "function() {\n  const { functional_class, tunnel, tollway } = feature;\n\n  const alpha = tunnel ? 0.89 : 1;\n\n  const getRGB = (hex, alpha) => {\n    const r = +(parseInt(hex.slice(1, 3), 16) / 255).toFixed(2);\n    const g = +(parseInt(hex.slice(3, 5), 16) / 255).toFixed(2);\n    const b = +(parseInt(hex.slice(5, 7), 16) / 255).toFixed(2);\n\n    return [r, g, b, alpha];\n  }\n\n  if (tollway) {\n    return '#D72740';\n  }\n\n  switch (functional_class) {\n    case 1:\n    case 2: {\n      const color = getRGB('#D1747F', alpha);\n\n      return color;\n    }\n\n    case 3:\n    case 4: {\n      const color = getRGB('#B1A7AA', alpha);\n\n      return color;\n    }\n\n    case 5: {\n      const color = getRGB('#D5CEC3', alpha);\n\n      return color;\n    }\n  }\n}";
export declare const widthFunction = "function() {\n  const { functional_class, road_number } = feature;\n\n  const getScale = () => {\n    if ($zoom <= 15 && $zoom >= 14) { return 7; }\n\n    if ($zoom <= 13 && $zoom >= 12) { return 9; }\n\n    if ($zoom <= 5) { return 400; }\n\n    if ($zoom <= 7) { return 200; }\n\n    if ($zoom < 12) { return 50; }\n\n    return 1;\n  }\n\n  const scale = getScale();\n\n  switch(functional_class) {\n    case 1:\n    case 2: {\n      return 8 * scale;\n    }\n\n    case 3:\n    case 4: {\n      return 7 * scale;\n    }\n\n    case 5: {\n      if (Boolean(road_number)) {\n        return 7 * scale;\n      }\n\n      return 6;\n    }\n  }\n}";
export declare const outlineColorFunction = "function() {\n  const { functional_class, access_id, tollway } = feature;\n\n  if (tollway) {\n    return '#B9263B';\n  }\n\n  switch(functional_class) {\n    case 5: {\n      return '#989898';\n    }\n\n    case 3:\n    case 4: {\n      return '#8F6E78';\n    }\n\n    case 1:\n    case 2: {\n      return '#9A414B';\n    }\n  }\n}";
export declare const outlineWidthFunction = "function() {\n  const { functional_class, access_id } = feature;\n\n  switch(functional_class) {\n    case 5: {\n      switch (access_id) {\n        case 32: {\n          return 0;\n        }\n\n        default: {\n          return 1;\n        }\n      }\n    }\n\n    default: {\n      return 1;\n    }\n  }\n}";
//# sourceMappingURL=constants.d.ts.map