import { GoalLineRuleType } from './types';
import { Component } from '../../../../../shared-logic/src/Component/types';
import { GoalLineEnum } from '../../../../../shared-logic/src/enums/goalline.enum';
export declare function useGoalLine(initialGoalLine: GoalLineRuleType | undefined, onAddingGoalLine: (goalLine: GoalLineRuleType) => void): {
    goalLineType: GoalLineEnum;
    handleUpsert: () => void;
    onChange: (partial: Partial<GoalLineRuleType>) => void;
    onGoalLineTypeChange: (goalLineType: Component.GoalLine.GoalLineType) => void;
    disabled: boolean;
    value?: string | number | undefined;
    strokeStyle?: "dashed" | "solid" | undefined;
    strokeWidth?: number | undefined;
    color?: string | undefined;
    label?: boolean | undefined;
    metricField?: string | undefined;
};
