import type { AxisSpec, PFrameHandle, PTableHandle, SingleAxisSelector, } from "@milaboratories/pl-model-common"; export type Logger = (level: "info" | "warn" | "error", message: string) => void; export type PFrameId = PFrameHandle; export type PTableId = PTableHandle; export interface AxisQualification { axis: SingleAxisSelector; contextDomain: Record; } export interface ColumnAxesWithQualifications { axesSpec: AxisSpec[]; qualifications: AxisQualification[]; } export type ConstantAxisFilter = { type: "constant"; axisIndex: number; constant: string | number; };