
import { C as Run, Gt as RowObjectType, J as ValueDiffDetailViewOptions, X as ValueDiffResult, Y as ValueDiffParams, dt as ProfileDiffViewOptions, ft as TopKDiffParams, ht as TopKViewOptions, it as RowCountResult, l as Check, nt as RowCountDiffResult, on as NodeData, ot as HistogramDiffParams, pt as TopKDiffResult, rn as ManifestMetadata, st as HistogramDiffResult, ut as ProfileDiffResult, wt as QueryViewOptions, yt as QueryDiffViewOptions } from "./flag-CiR2E5oz.js";
import { i as LineageGraph } from "./types-CZre3j02.js";
import { nt as CheckActionType, p as SchemaDiffRow$1, q as CheckDetailTab, tt as CheckAction } from "./SplitPane-DdIE_DA1.js";
import { o as RunFormProps } from "./types-piNWusq2.js";
import { r as DataGridHandle } from "./ScreenshotDataGrid-CeuGj_hE.js";
import { n as CreatedResultViewProps } from "./index-Cuz7hTgv.js";
import { m as Check$1 } from "./index-ZQVNLsef.js";
import "@tanstack/react-query";
import * as React$2 from "react";
import React$1, { ComponentType, Dispatch, ForwardRefExoticComponent, PropsWithChildren, ReactNode, Ref, RefAttributes, SVGProps, SetStateAction } from "react";
import * as react_jsx_runtime77 from "react/jsx-runtime";
import { BoxProps } from "@mui/material/Box";
import "@mui/material/styles";
import { EdgeProps } from "@xyflow/react";
import "@xyflow/react/dist/style.css";
import { ColDef, ColGroupDef, ICellRendererParams } from "ag-grid-community";
import { FallbackRender } from "@sentry/react";

//#region src/components/app/EnvInfo.d.ts
declare function EnvInfo(): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/app/MainLayout.d.ts
interface MainLayoutProps {
  children: ReactNode;
  /** Parallel route slot from @lineage */
  lineage: ReactNode;
}
declare function MainLayout({
  children,
  lineage
}: MainLayoutProps): react_jsx_runtime77.JSX.Element;
interface MainProps {
  children: ReactNode;
  lineage: ReactNode;
  isLineageRoute: boolean;
  /** Disable internal history panel (RunListOss) - cloud uses its own */
  disableInternalHistory?: boolean;
}
declare function Main({
  children,
  lineage,
  isLineageRoute,
  disableInternalHistory
}: MainProps): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/check/CheckDetailOss.d.ts
interface CheckDetailProps {
  checkId: string;
  refreshCheckList?: () => void;
}
declare function CheckDetailOss({
  checkId,
  refreshCheckList
}: CheckDetailProps): ReactNode;
//#endregion
//#region src/components/check/CheckEmptyStateOss.d.ts
declare const CheckEmptyStateOss: () => react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/check/CheckListOss.d.ts
declare const CheckListOss: ({
  checks,
  selectedItem,
  onCheckSelected,
  onChecksReordered
}: {
  checks: Check[];
  selectedItem: string | null;
  onCheckSelected: (checkId: string) => void;
  onChecksReordered: (source: number, destination: number) => void;
}) => react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/check/CheckPageContentOss.d.ts
declare const CheckPageContentOss: () => ReactNode;
//#endregion
//#region src/components/check/CheckPageLoadingOss.d.ts
/**
 * Loading fallback - shows minimal UI while search params are being read
 */
declare const CheckPageLoadingOss: () => ReactNode;
//#endregion
//#region src/components/errorboundary/ErrorBoundary.d.ts
declare const ErrorBoundary: ({
  children,
  fallback
}: {
  children: ReactNode;
  fallback?: React$2.ReactElement | FallbackRender | undefined;
}) => react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/histogram/HistogramDiffForm.d.ts
/**
 * Check if a column type supports histogram diff
 * Returns true for numeric types (excludes string, boolean, and datetime)
 */
declare function supportsHistogramDiff(columnType: string): boolean;
type HistogramDiffEditProps = RunFormProps<HistogramDiffParams>;
/**
 * Form component for configuring histogram diff parameters
 *
 * Displays a dropdown to select a column for histogram diff comparison.
 * Only numeric columns are shown (string, boolean, and datetime types are filtered out).
 *
 * @example
 * ```tsx
 * <HistogramDiffForm
 *   params={{ model: "orders", column_name: "" }}
 *   onParamsChanged={(params) => setParams(params)}
 *   setIsReadyToExecute={(ready) => setReady(ready)}
 * />
 * ```
 */
declare function HistogramDiffForm({
  params,
  onParamsChanged,
  setIsReadyToExecute
}: HistogramDiffEditProps): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/histogram/HistogramResultView.d.ts
/**
 * Run type with histogram_diff result
 */
type HistogramDiffRun = Run & {
  type: "histogram_diff";
  params?: HistogramDiffParams;
  result?: HistogramDiffResult;
};
/**
 * Props for HistogramDiffResultView component
 */
interface HistogramResultViewProps extends CreatedResultViewProps<unknown> {
  run: HistogramDiffRun | unknown;
}
/**
 * Result view for histogram diff comparison between base and current environments
 *
 * Displays a chart comparing histogram distributions between base and current.
 * The chart title shows the model and column name.
 *
 * @example
 * ```tsx
 * <HistogramDiffResultView run={histogramDiffRun} ref={boxRef} />
 * ```
 */
declare const HistogramDiffResultView: ForwardRefExoticComponent<HistogramResultViewProps & RefAttributes<HTMLDivElement>>;
//#endregion
//#region src/lib/dataGrid/generators/toSchemaDataGrid.d.ts
interface SchemaDiffRow extends RowObjectType {
  name: string;
  reordered?: boolean;
  currentIndex?: number;
  baseIndex?: number;
  currentType?: string;
  baseType?: string;
}
interface SchemaRow extends RowObjectType {
  name: string;
  index: number;
  type?: string;
}
type SchemaDiff = Record<string, SchemaDiffRow>;
interface SchemaDataGridOptions {
  /** Node data for context menu actions */
  node?: NodeData;
  /** Map of column names to CLL loading state */
  cllRunningMap?: Map<string, boolean>;
  /** Whether to show the column action menu (default: true) */
  showMenu?: boolean;
}
interface SchemaDataGridResult {
  columns: (ColDef<SchemaDiffRow> | ColGroupDef<SchemaDiffRow>)[];
  rows: SchemaDiffRow[];
}
interface SingleEnvSchemaDataGridResult {
  columns: (ColDef<SchemaRow> | ColGroupDef<SchemaRow>)[];
  rows: SchemaRow[];
}
/**
 * Merges base and current column schemas into a diff structure
 */
declare function mergeColumns(baseColumns?: NodeData["columns"], currentColumns?: NodeData["columns"]): SchemaDiff;
/**
 * Generates grid configuration for schema diff view
 * Uses merged columns: Index (merged base/current), Name, Type (merged with badges)
 */
declare function toSchemaDataGrid(schemaDiff: SchemaDiff, options?: SchemaDataGridOptions): SchemaDataGridResult;
/**
 * Generates grid configuration for single-environment schema view
 */
declare function toSingleEnvDataGrid(nodeColumns?: NodeData["columns"], options?: SchemaDataGridOptions): SingleEnvSchemaDataGridResult;
//#endregion
//#region src/providers/contexts/ThemeContext.d.ts
/**
 * Theme mode selection for {@link ThemeProvider}.
 */
type ThemeMode = "light" | "dark" | "system";
/**
 * Theme context values exposed by {@link useRecceTheme}.
 */
interface ThemeContextValue {
  mode: ThemeMode;
  resolvedMode: "light" | "dark";
  setMode: (mode: ThemeMode) => void;
}
/**
 * Access the theme context.
 *
 * @throws Error if used outside {@link RecceProvider}.
 */
declare function useRecceTheme(): ThemeContextValue;
//#endregion
//#region src/index.d.ts
declare const VERSION = "0.2.0";
//#endregion
//#region src/components/lineage/LineagePageOss.d.ts
declare function LineagePageOss(): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/lineage/styles.d.ts
/**
 * Icon component type
 */
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>;
//#endregion
//#region src/components/notifications/LineageViewNotification.d.ts
interface NotificationProps {
  notification?: React$1.ReactNode;
  type: "info" | "success" | "warning" | "error";
}
declare function LineageViewNotification({
  notification,
  type
}: NotificationProps): react_jsx_runtime77.JSX.Element | null;
//#endregion
//#region src/components/onboarding-guide/Notification.d.ts
declare const RecceNotification: (props: PropsWithChildren<{
  onClose: () => void;
  align?: string;
}>) => react_jsx_runtime77.JSX.Element;
declare const LearnHowLink: () => react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/profile/ProfileDiffForm.d.ts
interface ProfileDiffFormParams {
  model: string;
  primary_key?: string | (string | undefined)[];
  columns?: string[];
}
type ProfileDiffFormProp = RunFormProps<ProfileDiffFormParams>;
declare function ProfileDiffForm({
  params,
  onParamsChanged,
  setIsReadyToExecute
}: ProfileDiffFormProp): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/profile/ProfileResultView.d.ts
/**
 * Run type with profile result (single environment)
 */
type ProfileRun = Run & {
  type: "profile";
  result?: ProfileDiffResult;
};
/**
 * Run type with profile_diff result
 */
type ProfileDiffRun = Run & {
  type: "profile_diff";
  result?: ProfileDiffResult;
};
/**
 * Props for ProfileResultView components
 */
interface ProfileResultViewProps extends CreatedResultViewProps<ProfileDiffViewOptions> {
  run: ProfileRun | ProfileDiffRun | unknown;
  /**
   * Optional header element to render above the grid.
   * Use this to inject OSS-specific controls like RunToolbar.
   */
  header?: ReactNode;
}
/**
 * Result view for single environment profile stats
 *
 * Displays a grid with column metrics (count, distinct, null proportion, etc.)
 * for a single dbt model.
 *
 * @example
 * ```tsx
 * <ProfileResultView run={profileRun} ref={gridRef} />
 * ```
 */
declare const ProfileResultView: React$2.ForwardRefExoticComponent<Omit<CreatedResultViewProps<ProfileDiffViewOptions>, "ref"> & React$2.RefAttributes<DataGridHandle>>;
/**
 * Result view for comparing profile stats between base and current environments
 *
 * Displays a grid with column metrics from both environments,
 * styled to highlight differences.
 *
 * @example
 * ```tsx
 * <ProfileDiffResultView
 *   run={profileDiffRun}
 *   ref={gridRef}
 *   viewOptions={{ display_mode: "inline" }}
 *   onViewOptionsChanged={setViewOptions}
 * />
 * ```
 */
declare const ProfileDiffResultView: React$2.ForwardRefExoticComponent<Omit<CreatedResultViewProps<ProfileDiffViewOptions>, "ref"> & React$2.RefAttributes<DataGridHandle>>;
//#endregion
//#region src/components/query/QueryDiffResultView.d.ts
type QueryDiffRun = Extract<Run, {
  type: "query_diff";
}>;
/**
 * Props for QueryDiffResultView component
 */
interface QueryDiffResultViewProps extends CreatedResultViewProps<QueryDiffViewOptions> {
  run: QueryDiffRun | unknown;
}
/**
 * QueryDiffResultView component - displays query diff results in a data grid.
 *
 * Handles both JOIN and non-JOIN modes:
 * - JOIN mode: Server computes the diff, result has `run.result.diff`
 * - Non-JOIN mode: Client-side diff, result has `run.result.base` and `run.result.current`
 *
 * Key differences between modes:
 * - Primary key handling: only in non-JOIN mode (server handles it in JOIN mode)
 * - Warning sources: `diff.limit/more` vs `current.limit/more || base.more`
 * - "No change" empty state: only in JOIN mode with changedOnly=true
 *
 * Features:
 * - Displays row-level diff data with changed highlighting
 * - "Changed only" filter to show only differing rows
 * - Side-by-side vs inline display mode toggle
 * - Column pinning support
 * - Primary key selection (non-JOIN mode)
 * - Warning for truncated results
 * - Warning for non-unique primary keys (non-JOIN mode)
 *
 * @example
 * ```tsx
 * <QueryDiffResultView
 *   run={queryDiffRun}
 *   viewOptions={{ changed_only: true, display_mode: 'inline' }}
 *   onViewOptionsChanged={setViewOptions}
 * />
 * ```
 */
declare const QueryDiffResultView: ForwardRefExoticComponent<QueryDiffResultViewProps & RefAttributes<DataGridHandle>>;
//#endregion
//#region src/components/query/QueryForm.d.ts
interface QueryFormProps extends BoxProps {
  defaultPrimaryKeys: string[] | undefined;
  onPrimaryKeysChange: (primaryKeys: string[]) => void;
}
declare const QueryForm$1: ({
  defaultPrimaryKeys,
  onPrimaryKeysChange,
  ...props
}: QueryFormProps) => react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/query/QueryPageOss.d.ts
declare const QueryPageOss: () => react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/query/QueryResultView.d.ts
type QueryRun = Extract<Run, {
  type: "query";
}>;
type QueryBaseRun = Extract<Run, {
  type: "query_base";
}>;
/**
 * Props for QueryResultView component
 */
interface QueryResultViewProps extends CreatedResultViewProps<QueryViewOptions> {
  run: QueryRun | QueryBaseRun | unknown;
}
/**
 * QueryResultView component - displays query results in a data grid.
 *
 * Features:
 * - Displays query results with column pinning support
 * - Shows amber warning when results are truncated (limit exceeded)
 * - Optional "Add to Checklist" button in toolbar
 * - Supports both "query" and "query_base" run types
 *
 * @example
 * ```tsx
 * <QueryResultView
 *   run={queryRun}
 *   viewOptions={{ pinned_columns: ['id'] }}
 *   onViewOptionsChanged={setViewOptions}
 *   onAddToChecklist={(run) => addToChecklist(run)}
 * />
 * ```
 */
declare const QueryResultView: ForwardRefExoticComponent<QueryResultViewProps & RefAttributes<DataGridHandle>>;
//#endregion
//#region src/components/query/SetupConnectionGuide.d.ts
interface SetupConnectionGuideProps {
  /** URL for the support calendar booking (e.g., "https://cal.com/team/recce/chat") */
  supportCalendarUrl?: string;
}
/**
 * SetupConnectionGuide - displays guidance when data warehouse connection is not configured
 *
 * This component shows a guide to help users connect to a data warehouse
 * when query functions are disabled due to missing connection.
 */
declare function SetupConnectionGuide({
  supportCalendarUrl
}: SetupConnectionGuideProps): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/query/SqlEditor.d.ts
interface SqlEditorProps {
  language?: string;
  theme?: string;
  value: string;
  baseValue?: string;
  onChange?: (value: string) => void;
  onChangeBase?: (value: string) => void;
  onRun?: () => void;
  onRunBase?: () => void;
  onRunDiff?: () => void;
  options?: {
    readOnly?: boolean;
    fontSize?: number;
    lineNumbers?: "on" | "off";
    wordWrap?: "on" | "off";
  };
  manifestData?: ManifestMetadata;
  schemas?: string;
  label?: string;
  CustomEditor?: React$1.ReactNode;
}
interface DualSqlEditorProps extends SqlEditorProps {
  labels?: [string, string];
  SetupGuide?: React$1.ReactNode;
}
declare function SqlEditor({
  value,
  onChange,
  onRun,
  onRunBase,
  onRunDiff,
  label,
  CustomEditor,
  options,
  manifestData,
  schemas,
  ...props
}: SqlEditorProps): react_jsx_runtime77.JSX.Element;
declare function DualSqlEditor({
  value,
  baseValue,
  onChange,
  onChangeBase,
  onRun,
  onRunBase,
  onRunDiff,
  options,
  labels,
  SetupGuide,
  ...props
}: DualSqlEditorProps): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/rowcount/RowCountResultView.d.ts
/**
 * Run type with row_count result
 */
type RowCountRun = Run & {
  type: "row_count";
  result?: RowCountResult;
};
/**
 * Run type with row_count_diff result
 */
type RowCountDiffRun = Run & {
  type: "row_count_diff";
  result?: RowCountDiffResult;
};
/**
 * Props for RowCountResultView components
 */
interface RowCountResultViewProps extends CreatedResultViewProps<unknown> {
  run: RowCountRun | RowCountDiffRun | unknown;
}
/**
 * Result view for single environment row counts
 *
 * Displays a grid with model names and their row counts.
 *
 * @example
 * ```tsx
 * <RowCountResultView run={rowCountRun} ref={gridRef} />
 * ```
 */
declare const RowCountResultView: ForwardRefExoticComponent<RowCountResultViewProps & RefAttributes<DataGridHandle>>;
/**
 * Result view for comparing row counts between base and current environments
 *
 * Displays a grid with model names, base counts, current counts, and delta.
 * Cells are styled to indicate added (green) or removed (red) rows.
 *
 * @example
 * ```tsx
 * <RowCountDiffResultView run={rowCountDiffRun} ref={gridRef} />
 * ```
 */
declare const RowCountDiffResultView: ForwardRefExoticComponent<RowCountResultViewProps & RefAttributes<DataGridHandle>>;
//#endregion
//#region src/components/schema/ColumnNameCell.d.ts
/**
 * Props for the ColumnNameCell component
 */
interface ColumnNameCellProps {
  /** The model/node data containing column information */
  model: NodeData;
  /** The schema diff row data for this column */
  row: SchemaDiffRow$1;
  /** Whether viewing a single environment (disables diff menu) */
  singleEnv?: boolean;
  /** Whether column-level lineage is currently being computed */
  cllRunning?: boolean;
  /** Whether to show the context menu (defaults to true) */
  showMenu?: boolean;
}
/**
 * ColumnNameCell - Renders a column name with optional diff action menu
 *
 * Displays the column name with:
 * - A context menu for initiating diff operations (when applicable)
 * - A loading spinner when column-level lineage is running
 * - Tooltip indicating column lineage viewing capability
 *
 * The menu is hidden when:
 * - showMenu is false
 * - singleEnv is true (no comparison available)
 * - The model is a source (sources don't support diff operations)
 */
declare function ColumnNameCell({
  model,
  row,
  singleEnv,
  cllRunning,
  showMenu
}: ColumnNameCellProps): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/schema/SchemaView.d.ts
interface SchemaViewProps {
  base?: NodeData;
  current?: NodeData;
  enableScreenshot?: boolean;
  showMenu?: boolean;
}
declare const SchemaView$1: React$2.ForwardRefExoticComponent<SchemaViewProps & React$2.RefAttributes<DataGridHandle>>;
declare const SingleEnvSchemaView$1: React$2.ForwardRefExoticComponent<{
  current?: NodeData;
  showMenu?: boolean;
} & React$2.RefAttributes<DataGridHandle>>;
//#endregion
//#region src/components/shared/HistoryToggle.d.ts
declare function HistoryToggle(): ReactNode;
//#endregion
//#region src/components/summary/types.d.ts
/**
 * Change status for nodes and columns in a lineage graph
 *
 * Node changes:
 * - added: New resource added to the graph
 * - removed: Resource removed from the graph
 * - modified: Resource code was modified
 *
 * Column changes:
 * - col_added: New column added to a node
 * - col_removed: Column removed from a node
 * - col_changed: Column type or definition changed
 *
 * Folder changes:
 * - folder_changed: Files in a folder were modified
 *
 * null: No change detected
 */
type ChangeStatus = "added" | "removed" | "modified" | "col_added" | "col_removed" | "col_changed" | "folder_changed" | null;
/**
 * Labels for each change status
 * Format: [shortLabel, longLabel]
 */
declare const NODE_CHANGE_STATUS_MSGS: Record<NonNullable<ChangeStatus>, [string, string]>;
/**
 * Props for the ChangeSummary component
 */
interface ChangeSummaryProps {
  lineageGraph: LineageGraph;
}
/**
 * Result of calculating column changes between base and current
 */
interface ColumnChangeResult {
  adds: number;
  removes: number;
  modifies: number;
}
/**
 * Result of calculating all changes in a lineage graph
 */
interface ChangeSummaryResult {
  adds: number;
  removes: number;
  modifies: number;
  col_added: number;
  col_removed: number;
  col_changed: number;
}
//#endregion
//#region src/components/summary/ChangeSummary.d.ts
/**
 * ChangeSummary component
 *
 * Displays a summary of all changes in a lineage graph, split into two sections:
 * - Code Changes: Added, removed, and modified nodes
 * - Column Changes: Added, removed, and modified columns
 *
 * @example
 * ```tsx
 * <ChangeSummary lineageGraph={lineageGraph} />
 * ```
 */
declare function ChangeSummary({
  lineageGraph
}: ChangeSummaryProps): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/summary/SchemaSummary.d.ts
interface SchemaSummaryProps {
  lineageGraph: LineageGraph;
}
declare function SchemaSummary({
  lineageGraph
}: SchemaSummaryProps): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/summary/utils.d.ts
/**
 * Get icon and color for a given change status
 *
 * Maps change statuses to visual indicators (icons and colors) for
 * consistent display across the UI.
 *
 * @param changeStatus - The change status to get icon for
 * @returns Object with color and icon component
 */
declare function getIconForChangeStatus(changeStatus?: ChangeStatus): {
  color: string;
  icon: IconComponent | undefined;
};
/**
 * Calculate column changes between base and current node data
 *
 * Compares the columns in base and current versions of a node to
 * determine how many columns were added, removed, or modified.
 *
 * @param base - Base version node data
 * @param current - Current version node data
 * @returns Column change counts
 */
declare function calculateColumnChange(base: NodeData | undefined, current: NodeData | undefined): ColumnChangeResult;
/**
 * Calculate all changes in a lineage graph
 *
 * Iterates through all modified nodes in the lineage graph and
 * aggregates node-level and column-level changes.
 *
 * @param lineageGraph - The lineage graph to analyze
 * @returns Aggregated change counts
 */
declare function calculateChangeSummary(lineageGraph: LineageGraph): ChangeSummaryResult;
//#endregion
//#region src/components/timeout/IdleTimeoutBadge.d.ts
/**
 * Badge component that displays idle timeout warning countdown
 * Only shows when remaining time is below the warning threshold
 * Styled as a warning indicator to draw user attention
 */
declare function IdleTimeoutBadge(): react_jsx_runtime77.JSX.Element | null;
//#endregion
//#region src/components/top-k/TopKDiffForm.d.ts
type TopKDiffFormProps = RunFormProps<TopKDiffParams>;
declare function TopKDiffForm({
  params,
  onParamsChanged,
  setIsReadyToExecute
}: TopKDiffFormProps): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/top-k/TopKDiffResultView.d.ts
/**
 * Run type with top_k_diff result
 */
type TopKDiffRun = Run & {
  type: "top_k_diff";
  params?: TopKDiffParams;
  result?: TopKDiffResult;
};
/**
 * Props for TopKDiffResultView component
 */
interface TopKDiffResultViewProps extends CreatedResultViewProps<TopKViewOptions> {
  run: TopKDiffRun | unknown;
}
/**
 * TopKDiffResultView component - displays top-K value distribution comparison.
 *
 * Features:
 * - Displays horizontal bar chart comparing base vs current top-K values
 * - "View More Items" / "View Only Top-10" toggle when >10 items exist
 * - Title shows model name and column name
 * - Dark/light theme support
 *
 * @example
 * ```tsx
 * <TopKDiffResultView
 *   run={topKDiffRun}
 *   viewOptions={{ show_all: false }}
 *   onViewOptionsChanged={setViewOptions}
 * />
 * ```
 */
declare const TopKDiffResultView: ForwardRefExoticComponent<TopKDiffResultViewProps & RefAttributes<HTMLDivElement>>;
//#endregion
//#region src/components/ui/SquareIcon.d.ts
interface SquareIconProps {
  /** The background color of the square icon */
  color: string;
}
/**
 * A small square icon used in chart legends
 */
declare function SquareIcon({
  color
}: SquareIconProps): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/valuediff/ValueDiffDetailResultView.d.ts
/**
 * Run type with value_diff_detail result
 */
type ValueDiffDetailRun = Run & {
  type: "value_diff_detail";
};
/**
 * Props for ValueDiffDetailResultView component
 */
interface ValueDiffDetailResultViewProps extends CreatedResultViewProps<ValueDiffDetailViewOptions> {
  run: ValueDiffDetailRun | unknown;
}
/**
 * ValueDiffDetailResultView component - displays value diff details in a data grid.
 *
 * Features:
 * - Displays row-level diff data with changed highlighting
 * - "Changed only" filter to show only differing rows
 * - Side-by-side vs inline display mode toggle
 * - Column pinning support
 * - Shows amber warning when results are truncated
 * - Toolbar-in-empty-state pattern: shows "No change" when changed_only=true but no changes
 *
 * @example
 * ```tsx
 * <ValueDiffDetailResultView
 *   run={valueDiffDetailRun}
 *   viewOptions={{ changed_only: true, display_mode: 'inline' }}
 *   onViewOptionsChanged={setViewOptions}
 * />
 * ```
 */
declare const ValueDiffDetailResultView: ForwardRefExoticComponent<ValueDiffDetailResultViewProps & RefAttributes<DataGridHandle>>;
//#endregion
//#region src/components/valuediff/ValueDiffForm.d.ts
interface ValueDiffFormParams {
  model: string;
  primary_key?: string | (string | undefined)[];
  columns?: string[];
}
type ValueDiffFormProp = RunFormProps<ValueDiffFormParams>;
declare function ValueDiffForm({
  params,
  onParamsChanged,
  setIsReadyToExecute
}: ValueDiffFormProp): react_jsx_runtime77.JSX.Element;
//#endregion
//#region src/components/valuediff/ValueDiffResultView.d.ts
/**
 * Run type with value_diff result
 */
type ValueDiffRun = Run & {
  type: "value_diff";
  result?: ValueDiffResult;
  params?: ValueDiffParams;
};
/**
 * Props for ValueDiffResultView component
 */
interface ValueDiffResultViewProps extends CreatedResultViewProps<unknown> {
  run: ValueDiffRun | unknown;
}
/**
 * ValueDiffResultView component - displays value diff summary in a data grid.
 *
 * Features:
 * - Displays column-level match statistics
 * - Summary header with model name and row counts (total, common, added, removed)
 * - Highlights columns with match percentage < 100%
 *
 * @example
 * ```tsx
 * <ValueDiffResultView run={valueDiffRun} />
 * ```
 */
declare const ValueDiffResultView: ForwardRefExoticComponent<ValueDiffResultViewProps & RefAttributes<DataGridHandle>>;
//#endregion
//#region src/components/views/ChecksView.d.ts
/**
 * Props for the ChecksView component.
 * Defines options for viewing and managing checks.
 */
interface ChecksViewProps {
  /**
   * Optional checks data. If not provided, uses CheckContext.
   */
  checks?: Check$1[];
  /**
   * Loading state. If not provided, uses CheckContext.
   */
  isLoading?: boolean;
  /**
   * Error message. If not provided, uses CheckContext.
   */
  error?: string;
  /**
   * Currently selected check ID. If not provided, uses CheckContext.
   */
  selectedCheckId?: string;
  /**
   * Callback when a check is selected. If not provided, uses CheckContext.
   */
  onCheckSelect?: (checkId: string) => void;
  /**
   * Callback when check approval status changes.
   */
  onApprovalChange?: (checkId: string, isApproved: boolean) => void;
  /**
   * Callback when a check action is triggered.
   */
  onAction?: (checkId: string, actionType: CheckActionType) => void;
  /**
   * Callback when checks are reordered.
   */
  onReorder?: (sourceIndex: number, destinationIndex: number) => void;
  /**
   * Callback when description changes.
   */
  onDescriptionChange?: (checkId: string, description?: string) => void;
  /**
   * Callback when name changes.
   */
  onNameChange?: (checkId: string, name: string) => void;
  /**
   * Callback when create is clicked (in empty state).
   */
  onCreateCheck?: () => void;
  /**
   * Function to generate tabs for a check detail view.
   */
  getCheckTabs?: (check: Check$1) => CheckDetailTab[];
  /**
   * Function to generate primary actions for a check.
   */
  getPrimaryActions?: (check: Check$1) => CheckAction[];
  /**
   * Function to generate secondary actions for a check.
   */
  getSecondaryActions?: (check: Check$1) => CheckAction[];
  /**
   * Whether approval is disabled for all checks.
   */
  disableApproval?: boolean;
  /**
   * Tooltip for disabled approval.
   */
  disabledApprovalTooltip?: string;
  /**
   * Optional height for the view.
   * @default "100%"
   */
  height?: number | string;
  /**
   * Initial split pane size (percentage for list).
   * @default 30
   */
  listPaneSize?: number;
  /**
   * Minimum list pane size in pixels.
   * @default 200
   */
  minListSize?: number;
  /**
   * Maximum list pane size in pixels.
   * @default 500
   */
  maxListSize?: number;
  /**
   * Title for the check list.
   */
  listTitle?: string;
  /**
   * Optional CSS class name.
   */
  className?: string;
}
/**
 * ChecksView Component
 *
 * A high-level component for viewing and managing checks using a
 * split-pane layout with a list on the left and details on the right.
 *
 * Can receive data from:
 * 1. CheckContext (wrap with CheckProvider)
 * 2. Direct props (pass checks, selectedCheckId, etc.)
 *
 * @example Using with context
 * ```tsx
 * import { CheckProvider, ChecksView } from '@datarecce/ui';
 *
 * function App() {
 *   const { checks, isLoading } = useChecksQuery();
 *   const [selectedId, setSelectedId] = useState<string>();
 *
 *   return (
 *     <CheckProvider
 *       checks={checks}
 *       isLoading={isLoading}
 *       selectedCheckId={selectedId}
 *       onSelectCheck={setSelectedId}
 *     >
 *       <ChecksView
 *         getCheckTabs={(check) => [
 *           { id: 'result', label: 'Result', content: <ResultView check={check} /> },
 *         ]}
 *       />
 *     </CheckProvider>
 *   );
 * }
 * ```
 *
 * @example Using with direct props
 * ```tsx
 * import { ChecksView } from '@datarecce/ui';
 *
 * function App({ checks, selectedId, onSelect }) {
 *   return (
 *     <ChecksView
 *       checks={checks}
 *       selectedCheckId={selectedId}
 *       onCheckSelect={onSelect}
 *       onApprovalChange={(id, approved) => updateCheck(id, { is_checked: approved })}
 *     />
 *   );
 * }
 * ```
 */
declare function ChecksViewComponent({
  checks: propChecks,
  isLoading: propIsLoading,
  error: propError,
  selectedCheckId: propSelectedCheckId,
  onCheckSelect: propOnCheckSelect,
  onApprovalChange,
  onAction,
  onReorder,
  onDescriptionChange,
  onNameChange,
  onCreateCheck,
  getCheckTabs,
  getPrimaryActions,
  getSecondaryActions,
  disableApproval,
  disabledApprovalTooltip,
  height,
  listPaneSize,
  minListSize,
  maxListSize,
  listTitle,
  className
}: ChecksViewProps): react_jsx_runtime77.JSX.Element;
/**
 * Memoized ChecksView component for performance optimization.
 */
declare const ChecksView: React$2.MemoExoticComponent<typeof ChecksViewComponent>;
//#endregion
export { ProfileResultView as $, SingleEnvSchemaView$1 as A, Main as At, SqlEditor as B, ChangeStatus as C, supportsHistogramDiff as Ct, NODE_CHANGE_STATUS_MSGS as D, CheckListOss as Dt, ColumnChangeResult as E, CheckPageContentOss as Et, RowCountResultView as F, QueryResultViewProps as G, SetupConnectionGuide as H, RowCountResultViewProps as I, QueryFormProps as J, QueryPageOss as K, RowCountRun as L, ColumnNameCellProps as M, EnvInfo as Mt, RowCountDiffResultView as N, HistoryToggle as O, CheckEmptyStateOss as Ot, RowCountDiffRun as P, ProfileDiffRun as Q, DualSqlEditor as R, ChangeSummary as S, HistogramDiffForm as St, ChangeSummaryResult as T, CheckPageLoadingOss as Tt, SetupConnectionGuideProps as U, SqlEditorProps as V, QueryResultView as W, QueryDiffResultViewProps as X, QueryDiffResultView as Y, ProfileDiffResultView as Z, IdleTimeoutBadge as _, toSchemaDataGrid as _t, ValueDiffRun as a, RecceNotification as at, getIconForChangeStatus as b, HistogramDiffRun as bt, ValueDiffDetailResultView as c, LineagePageOss as ct, SquareIcon as d, SchemaDataGridOptions as dt, ProfileResultViewProps as et, SquareIconProps as f, SchemaDataGridResult as ft, TopKDiffForm as g, mergeColumns as gt, TopKDiffRun as h, SingleEnvSchemaDataGridResult as ht, ValueDiffResultViewProps as i, LearnHowLink as it, ColumnNameCell as j, MainLayout as jt, SchemaView$1 as k, CheckDetailOss as kt, ValueDiffDetailResultViewProps as l, VERSION as lt, TopKDiffResultViewProps as m, SchemaRow as mt, ChecksViewProps as n, ProfileDiffForm as nt, ValueDiffForm as o, LineageViewNotification as ot, TopKDiffResultView as p, SchemaDiffRow as pt, QueryForm$1 as q, ValueDiffResultView as r, ProfileDiffFormParams as rt, ValueDiffFormParams as s, NotificationProps as st, ChecksView as t, ProfileRun as tt, ValueDiffDetailRun as u, useRecceTheme as ut, calculateChangeSummary as v, toSingleEnvDataGrid as vt, ChangeSummaryProps as w, ErrorBoundary as wt, SchemaSummary as x, HistogramResultViewProps as xt, calculateColumnChange as y, HistogramDiffResultView as yt, DualSqlEditorProps as z };
//# sourceMappingURL=index-Bt9tMcsF.d.ts.map