import type { Channel, ChannelOutput, CartesianChartMark, CartesianScaleBindings, ChartKey, ChartMarkMotionOptions, ChartMarkState, ChartRectStateStyle, ChartValue } from './types.js'; export interface RectOptions extends ChartMarkMotionOptions, CartesianScaleBindings { id?: string; x?: Channel; x1?: Channel; x2?: Channel; y?: Channel; y1?: Channel; y2?: Channel; z?: Channel; color?: Channel; key?: Channel; fill?: string; fillOpacity?: number; stroke?: string; strokeWidth?: number; inset?: number; radius?: number; states?: readonly ChartMarkState>[]; } export type CellOptions = Omit, 'x1' | 'x2' | 'y1' | 'y2'>; type RectSideOutput = TOptions extends unknown ? TEndpoint extends keyof TOptions ? ChannelOutput : TCenter extends keyof TOptions ? ChannelOutput : number : never; type RectXOutput = RectSideOutput | RectSideOutput; type RectYOutput = RectSideOutput | RectSideOutput; type RectPointXOutput = TOptions extends unknown ? 'x' extends keyof TOptions ? ChannelOutput : number : never; type RectPointYOutput = TOptions extends unknown ? 'y' extends keyof TOptions ? ChannelOutput : 'y2' extends keyof TOptions ? ChannelOutput : number : never; export declare function rect>>(source: Iterable, options: TOptions): CartesianChartMark, RectPointYOutput, RectXOutput, RectYOutput, TOptions>; export declare function cell>>(source: Iterable, options: TOptions): CartesianChartMark, RectPointYOutput, RectXOutput, RectYOutput, TOptions>; export {};