import type { D3InterpolateName } from '../colors'; import { type Vec2 } from '../math'; import type { AxisConfig } from '../plot/core/types'; import { type ComponentProps, type Snippet } from 'svelte'; import type { HTMLAttributes } from 'svelte/elements'; import HeatmapMatrixControls from './HeatmapMatrixControls.svelte'; import type { AxisItem, CellContext, HeatmapDomainMode, HeatmapExportFormat, HeatmapNormalizeMode, HeatmapTooltipProp, HeatmapValues, ColorBarPosition, MissingCellStyle, SymmetricMode } from './index'; type SelectionMode = `single` | `multi` | `range`; type AxisOrder = `label` | `key` | `sort_value` | ((a: AxisItem, b: AxisItem) => number); type CellPos = { x_idx: number; y_idx: number; }; type $$ComponentProps = Omit, `onclick` | `ondblclick` | `oncontextmenu`> & { x_items: AxisItem[]; y_items: AxisItem[]; values?: HeatmapValues; color_scale?: D3InterpolateName | ((val: number) => string); color_scale_range?: [number | null, number | null]; color_overrides?: Record; missing?: MissingCellStyle; backdrop?: string; log?: boolean; normalize?: HeatmapNormalizeMode; domain_mode?: HeatmapDomainMode; show_color_bar?: boolean; color_bar_position?: ColorBarPosition; color_bar_label?: string; color_bar_format?: string; active_cell?: CellPos | null; selected_cells?: CellPos[]; selection_mode?: SelectionMode; pinned_cell?: CellPos | null; tooltip_mode?: `hover` | `pinned` | `both`; disabled?: boolean; on_click?: (cell: CellContext) => void; on_double_click?: (cell: CellContext) => void; on_select?: (cells: CellPos[]) => void; on_context_menu?: (cell: CellContext, event: MouseEvent) => void; enable_brush?: boolean; on_brush?: (payload: { x_range: Vec2; y_range: Vec2; cells: CellContext[]; }) => void; tile_size?: string; gap?: string; hide_empty?: false | `compact` | `gaps`; show_x_labels?: boolean; show_y_labels?: boolean; stagger_axis_labels?: boolean | `auto`; symmetric?: SymmetricMode; symmetric_label_position?: `diagonal` | `edge`; label_style?: string; x_order?: AxisOrder; y_order?: AxisOrder; search_query?: string; virtualize?: boolean; overscan?: number; export_formats?: HeatmapExportFormat[]; on_export?: (format: HeatmapExportFormat, payload: unknown) => void; show_row_summaries?: boolean; show_col_summaries?: boolean; show_values?: boolean | string; show_controls?: boolean; controls_open?: boolean; controls_props?: Partial>; x_axis?: AxisConfig; y_axis?: AxisConfig; tooltip?: HeatmapTooltipProp; cell?: Snippet<[CellContext]>; children?: Snippet; }; declare const HeatmapMatrix: import("svelte").Component<$$ComponentProps, {}, "normalize" | "color_scale" | "controls_open" | "search_query" | "symmetric" | "domain_mode" | "show_color_bar" | "color_bar_position" | "show_values" | "show_row_summaries" | "show_col_summaries" | "active_cell" | "selected_cells" | "pinned_cell">; type HeatmapMatrix = ReturnType; export default HeatmapMatrix;