import { type OptionsGraphInterface, type VertexInterface } from './optionsGraphUtils';
export type Operation = CacheOperation | ChartOperation | ColorOperation | FontOperation | LocationOperation | LogicOperation | NumericOperation | TransformOperation;
type OperationFns = {
    dependencies?: OperationDependenciesFactory;
    resolve: OperationResolver;
} | OperationResolver;
type OperationDependenciesFactory = (graph: OptionsGraphInterface, vertex: VertexInterface, values: Array<VertexInterface>) => void;
type OperationResolver = (graph: OptionsGraphInterface, vertex: VertexInterface, values: Array<VertexInterface>) => unknown;
export declare function getOperation(value: unknown, keys?: Array<string>): {
    operation: Operation;
    values: any;
} | undefined;
declare enum CacheOperation {
    CacheMax = "$cacheMax"
}
declare enum ChartOperation {
    HasSeriesType = "$hasSeriesType",
    IsChartType = "$isChartType",
    IsSeriesType = "$isSeriesType"
}
declare enum ColorOperation {
    ForegroundBackgroundMix = "$foregroundBackgroundMix",
    ForegroundOpacity = "$foregroundOpacity",
    Interpolate = "$interpolate",
    IsGradient = "$isGradient",
    IsImage = "$isImage",
    IsPattern = "$isPattern",
    Mix = "$mix"
}
declare enum FontOperation {
    Rem = "$rem"
}
declare enum LogicOperation {
    And = "$and",
    Eq = "$eq",
    Every = "$every",
    GreaterThan = "$greaterThan",
    If = "$if",
    LessThan = "$lessThan",
    Not = "$not",
    Or = "$or",
    Some = "$some",
    Switch = "$switch"
}
declare enum LocationOperation {
    IsUserOption = "$isUserOption",
    MapPalette = "$mapPalette",
    Palette = "$palette",
    Path = "$path",
    PathString = "$pathString",
    Ref = "$ref"
}
declare enum TransformOperation {
    Apply = "$apply",
    ApplyCycle = "$applyCycle",
    ApplySwitch = "$applySwitch",
    ApplyTheme = "$applyTheme",
    Clone = "$clone",
    FindFirstSiblingNotOperation = "$findFirstSiblingNotOperation",
    Map = "$map",
    Merge = "$merge",
    Omit = "$omit",
    Size = "$size",
    Shallow = "$shallow",
    ShallowSimple = "$shallowSimple",
    Value = "$value"
}
declare enum NumericOperation {
    IsEven = "$isEven"
}
export declare const operations: Record<Operation, OperationFns>;
export declare function isOperation(value: unknown): value is Operation;
export {};
