import { Nil } from '@arcgis/components-utils';
import { default as Color } from '@geoscene/core/Color.js';
/** Convert grid rotation value to user-facing degrees value. */
export declare function gridRotationToDegrees(rotationFromGrid: Nil | number): number;
/**
 * Takes a number or string representation of grid rotation in degrees,
 * and transforms to the equivalent MeasuredGrid rotation value.
 */
export declare function userInputToGridRotation(rotationFromAnywhere: Nil | number | string): number;
/** Applies a single color to a grid; major line gets color as-is, minor line gets color with half opacity. */
export declare function applyColorToGrid(grid: Nil | object, color: number[]): void;
export declare function moduloPositive(a: number, n: number): number;
export declare const ColorPropertyConverter: {
    fromAttribute: (value: string) => Color | Nil;
    toAttribute: (value: Color | Nil | string) => string;
};