
//#region src/lib/api/track.d.ts
declare function trackInit(): void;
interface MultiNodeActionProps {
  type: "row_count" | "row_count_diff" | "value_diff" | "schema_diff" | "lineage_diff";
  selected: "single" | "multi" | "none";
}
declare function trackMultiNodesAction(props: MultiNodeActionProps): void;
interface HistoryActionProps {
  name: "show" | "hide" | "click_run" | "add_to_checklist" | "go_to_check";
}
declare function trackHistoryAction(props: HistoryActionProps): void;
interface PreviewChangeProps {
  action: "explore" | "run" | "close";
  node?: string;
  status?: "success" | "failure";
}
declare function trackPreviewChange(props: PreviewChangeProps): void;
interface PreviewChangeFeedbackProps {
  feedback: "like" | "dislike" | "form";
  node?: string;
}
declare function trackPreviewChangeFeedback(props: PreviewChangeFeedbackProps): void;
interface SingleEnvironmentProps {
  action: "onboarding" | "external_link" | "preview_changes" | `target_base_added`;
  from?: "onboarding" | "preview_changes";
  node?: string;
}
declare function trackSingleEnvironment(props: SingleEnvironmentProps): void;
declare function getExperimentTrackingBreakingChangeEnabled(): boolean;
interface ColumnLevelLineageProps {
  action: "view";
  source: "schema_column" | "changed_column" | "cll_column";
}
declare function trackColumnLevelLineage(props: ColumnLevelLineageProps): void;
interface ShareStateProps {
  name: "enable" | "create" | "copy";
}
declare function trackShareState(props: ShareStateProps): void;
interface StateActionProps {
  name: "import" | "export";
}
declare function trackStateAction(props: StateActionProps): void;
interface CopyToClipboardProps {
  from: "run" | "check" | "lineage_view";
  type: string;
}
declare function trackCopyToClipboard(props: CopyToClipboardProps): void;
interface TrackNavProps {
  from: string;
  to: string;
}
declare function trackNavigation(props: TrackNavProps): void;
interface LineageViewRenderProps {
  node_count: number;
  view_mode: string;
  impact_radius_enabled: boolean;
  cll_column_active?: boolean;
  right_sidebar_open: boolean;
  [status: string]: number | string | boolean | undefined;
}
declare function trackLineageViewRender(props: LineageViewRenderProps): void;
interface EnvironmentConfigProps {
  review_mode: boolean;
  adapter_type: string | null;
  has_git_info: boolean;
  has_pr_info: boolean;
  base?: {
    schema_count?: number;
    dbt_version?: string | null;
    timestamp?: string | null;
    has_env?: boolean;
  };
  current?: {
    schema_count?: number;
    dbt_version?: string | null;
    timestamp?: string | null;
    has_env?: boolean;
  };
  schemas_match?: boolean;
}
declare function trackEnvironmentConfig(props: EnvironmentConfigProps): void;
declare const EXPLORE_ACTION: {
  readonly ROW_COUNT: "row_count";
  readonly ROW_COUNT_DIFF: "row_count_diff";
  readonly PROFILE: "profile";
  readonly PROFILE_DIFF: "profile_diff";
  readonly VALUE_DIFF: "value_diff";
  readonly SCHEMA_DIFF: "schema_diff";
  readonly LINEAGE_DIFF: "lineage_diff";
  readonly QUERY: "query";
  readonly HISTOGRAM_DIFF: "histogram_diff";
  readonly TOP_K_DIFF: "top_k_diff";
};
declare const EXPLORE_SOURCE: {
  readonly LINEAGE_VIEW_TOP_BAR: "lineage_view_top_bar";
  readonly LINEAGE_VIEW_CONTEXT_MENU: "lineage_view_context_menu";
  readonly NODE_KEBAB_MENU: "node_kebab_menu";
  readonly NODE_SIDEBAR_SINGLE_ENV: "node_sidebar_single_env";
  readonly NODE_SIDEBAR_MULTI_ENV: "node_sidebar_multi_env";
  readonly SCHEMA_ROW_COUNT_BUTTON: "schema_row_count_button";
  readonly SCHEMA_COLUMN_MENU: "schema_column_menu";
};
type ExploreActionType = (typeof EXPLORE_ACTION)[keyof typeof EXPLORE_ACTION];
type ExploreSourceType = (typeof EXPLORE_SOURCE)[keyof typeof EXPLORE_SOURCE];
interface ExploreActionProps {
  action: ExploreActionType;
  source: ExploreSourceType;
  node_count?: number;
}
declare function trackExploreAction(props: ExploreActionProps): void;
declare const EXPLORE_FORM_EVENT: {
  readonly EXECUTE: "execute";
  readonly CANCEL: "cancel";
};
type ExploreFormEventType = (typeof EXPLORE_FORM_EVENT)[keyof typeof EXPLORE_FORM_EVENT];
interface ExploreActionFormProps {
  action: ExploreActionType;
  event: ExploreFormEventType;
}
declare function trackExploreActionForm(props: ExploreActionFormProps): void;
declare function isExploreAction(type: string): type is ExploreActionType;
declare const LINEAGE_SELECTION_ACTION: {
  readonly SELECT_PARENT_NODES: "select_parent_nodes";
  readonly SELECT_CHILD_NODES: "select_child_nodes";
  readonly SELECT_ALL_UPSTREAM: "select_all_upstream";
  readonly SELECT_ALL_DOWNSTREAM: "select_all_downstream";
};
type LineageSelectionActionType = (typeof LINEAGE_SELECTION_ACTION)[keyof typeof LINEAGE_SELECTION_ACTION];
interface LineageSelectionProps {
  action: LineageSelectionActionType;
  node_count?: number;
}
declare function trackLineageSelection(props: LineageSelectionProps): void;
//#endregion
export { EXPLORE_ACTION, EXPLORE_FORM_EVENT, EXPLORE_SOURCE, EnvironmentConfigProps, ExploreActionType, ExploreFormEventType, ExploreSourceType, LINEAGE_SELECTION_ACTION, LineageSelectionActionType, LineageViewRenderProps, getExperimentTrackingBreakingChangeEnabled, isExploreAction, trackColumnLevelLineage, trackCopyToClipboard, trackEnvironmentConfig, trackExploreAction, trackExploreActionForm, trackHistoryAction, trackInit, trackLineageSelection, trackLineageViewRender, trackMultiNodesAction, trackNavigation, trackPreviewChange, trackPreviewChangeFeedback, trackShareState, trackSingleEnvironment, trackStateAction };
//# sourceMappingURL=track.d.ts.map