import { Instrumentation } from '@synnaxlabs/alamos';
import { z } from 'zod';
import { aether } from '../../../aether/aether';
import { status } from '../../../status/aether';
import { FindResult } from '../../line/aether/line';
import { BoundQuerier } from './BoundQuerier';
import { XAxis } from './XAxis';
import { tooltip } from '../tooltip/aether';
import { measure } from '../../measure/aether';
import { render } from '../../render';
export declare const linePlotStateZ: z.ZodObject<{
    container: z.ZodObject<{
        one: z.ZodObject<{
            x: z.ZodNumber;
            y: z.ZodNumber;
        }, z.core.$strip>;
        two: z.ZodObject<{
            x: z.ZodNumber;
            y: z.ZodNumber;
        }, z.core.$strip>;
        root: z.ZodObject<{
            x: z.ZodEnum<{
                right: "right";
                left: "left";
            }>;
            y: z.ZodEnum<{
                top: "top";
                bottom: "bottom";
            }>;
        }, z.core.$strip>;
    }, z.core.$strip>;
    viewport: z.ZodObject<{
        one: z.ZodObject<{
            x: z.ZodNumber;
            y: z.ZodNumber;
        }, z.core.$strip>;
        two: z.ZodObject<{
            x: z.ZodNumber;
            y: z.ZodNumber;
        }, z.core.$strip>;
        root: z.ZodObject<{
            x: z.ZodEnum<{
                right: "right";
                left: "left";
            }>;
            y: z.ZodEnum<{
                top: "top";
                bottom: "bottom";
            }>;
        }, z.core.$strip>;
    }, z.core.$strip>;
    hold: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    grid: z.ZodRecord<z.ZodString, z.ZodObject<{
        key: z.ZodString;
        size: z.ZodNumber;
        order: z.ZodNumber;
        loc: z.ZodEnum<{
            top: "top";
            right: "right";
            bottom: "bottom";
            left: "left";
        }>;
    }, z.core.$strip>>;
    visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    clearOverScan: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
        x: z.ZodNumber;
        y: z.ZodNumber;
    }, z.core.$strip>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
        width: z.ZodNumber;
        height: z.ZodNumber;
    }, z.core.$strip>, z.ZodObject<{
        signedWidth: z.ZodNumber;
        signedHeight: z.ZodNumber;
    }, z.core.$strip>, z.ZodObject<{
        clientX: z.ZodNumber;
        clientY: z.ZodNumber;
    }, z.core.$strip>]>>>;
}, z.core.$strip>;
interface InternalState {
    instrumentation: Instrumentation;
    handleError: status.ErrorHandler;
    renderCtx: render.Context;
}
type Children = XAxis | tooltip.Tooltip | measure.Measure | BoundQuerier;
export declare class LinePlot extends aether.Composite<typeof linePlotStateZ, InternalState, Children> {
    static readonly TYPE: string;
    schema: z.ZodObject<{
        container: z.ZodObject<{
            one: z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, z.core.$strip>;
            two: z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, z.core.$strip>;
            root: z.ZodObject<{
                x: z.ZodEnum<{
                    right: "right";
                    left: "left";
                }>;
                y: z.ZodEnum<{
                    top: "top";
                    bottom: "bottom";
                }>;
            }, z.core.$strip>;
        }, z.core.$strip>;
        viewport: z.ZodObject<{
            one: z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, z.core.$strip>;
            two: z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, z.core.$strip>;
            root: z.ZodObject<{
                x: z.ZodEnum<{
                    right: "right";
                    left: "left";
                }>;
                y: z.ZodEnum<{
                    top: "top";
                    bottom: "bottom";
                }>;
            }, z.core.$strip>;
        }, z.core.$strip>;
        hold: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
        grid: z.ZodRecord<z.ZodString, z.ZodObject<{
            key: z.ZodString;
            size: z.ZodNumber;
            order: z.ZodNumber;
            loc: z.ZodEnum<{
                top: "top";
                right: "right";
                bottom: "bottom";
                left: "left";
            }>;
        }, z.core.$strip>>;
        visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
        clearOverScan: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
            x: z.ZodNumber;
            y: z.ZodNumber;
        }, z.core.$strip>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
            width: z.ZodNumber;
            height: z.ZodNumber;
        }, z.core.$strip>, z.ZodObject<{
            signedWidth: z.ZodNumber;
            signedHeight: z.ZodNumber;
        }, z.core.$strip>, z.ZodObject<{
            clientX: z.ZodNumber;
            clientY: z.ZodNumber;
        }, z.core.$strip>]>>>;
    }, z.core.$strip>;
    afterUpdate(ctx: aether.Context): void;
    afterDelete(ctx: aether.Context): void;
    findByXDecimal(x: number): FindResult[];
    findByXValue(x: number): FindResult[];
    private get axes();
    private get tooltips();
    private get measures();
    private get bounds();
    private get exposure();
    private renderAxes;
    private renderTooltips;
    private renderBounds;
    private renderMeasures;
    private calculatePlot;
    private render;
    requestRender(priority: render.Priority, reason: string): void;
}
export declare const REGISTRY: aether.ComponentRegistry;
export {};
//# sourceMappingURL=LinePlot.d.ts.map