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 { 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;
        }, "strip", z.ZodTypeAny, {
            x: number;
            y: number;
        }, {
            x: number;
            y: number;
        }>;
        two: z.ZodObject<{
            x: z.ZodNumber;
            y: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            x: number;
            y: number;
        }, {
            x: number;
            y: number;
        }>;
        root: z.ZodObject<{
            x: z.ZodEnum<["left", "right"]>;
            y: z.ZodEnum<["top", "bottom"]>;
        }, "strip", z.ZodTypeAny, {
            x: "right" | "left";
            y: "top" | "bottom";
        }, {
            x: "right" | "left";
            y: "top" | "bottom";
        }>;
    }, "strip", z.ZodTypeAny, {
        one: {
            x: number;
            y: number;
        };
        two: {
            x: number;
            y: number;
        };
        root: {
            x: "right" | "left";
            y: "top" | "bottom";
        };
    }, {
        one: {
            x: number;
            y: number;
        };
        two: {
            x: number;
            y: number;
        };
        root: {
            x: "right" | "left";
            y: "top" | "bottom";
        };
    }>;
    viewport: z.ZodObject<{
        one: z.ZodObject<{
            x: z.ZodNumber;
            y: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            x: number;
            y: number;
        }, {
            x: number;
            y: number;
        }>;
        two: z.ZodObject<{
            x: z.ZodNumber;
            y: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            x: number;
            y: number;
        }, {
            x: number;
            y: number;
        }>;
        root: z.ZodObject<{
            x: z.ZodEnum<["left", "right"]>;
            y: z.ZodEnum<["top", "bottom"]>;
        }, "strip", z.ZodTypeAny, {
            x: "right" | "left";
            y: "top" | "bottom";
        }, {
            x: "right" | "left";
            y: "top" | "bottom";
        }>;
    }, "strip", z.ZodTypeAny, {
        one: {
            x: number;
            y: number;
        };
        two: {
            x: number;
            y: number;
        };
        root: {
            x: "right" | "left";
            y: "top" | "bottom";
        };
    }, {
        one: {
            x: number;
            y: number;
        };
        two: {
            x: number;
            y: number;
        };
        root: {
            x: "right" | "left";
            y: "top" | "bottom";
        };
    }>;
    hold: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    grid: z.ZodRecord<z.ZodString, z.ZodObject<{
        key: z.ZodString;
        size: z.ZodNumber;
        order: z.ZodEnum<["first", "last"]>;
        loc: z.ZodEnum<["top", "right", "bottom", "left"]>;
    }, "strip", z.ZodTypeAny, {
        order: "last" | "first";
        key: string;
        size: number;
        loc: "bottom" | "left" | "right" | "top";
    }, {
        order: "last" | "first";
        key: string;
        size: number;
        loc: "bottom" | "left" | "right" | "top";
    }>>;
    clearOverScan: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
        x: z.ZodNumber;
        y: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        x: number;
        y: number;
    }, {
        x: number;
        y: number;
    }>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
        width: z.ZodNumber;
        height: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        width: number;
        height: number;
    }, {
        width: number;
        height: number;
    }>, z.ZodObject<{
        signedWidth: z.ZodNumber;
        signedHeight: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        signedWidth: number;
        signedHeight: number;
    }, {
        signedWidth: number;
        signedHeight: number;
    }>, z.ZodObject<{
        clientX: z.ZodNumber;
        clientY: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        clientX: number;
        clientY: number;
    }, {
        clientX: number;
        clientY: number;
    }>]>>>;
}, "strip", z.ZodTypeAny, {
    container: {
        one: {
            x: number;
            y: number;
        };
        two: {
            x: number;
            y: number;
        };
        root: {
            x: "right" | "left";
            y: "top" | "bottom";
        };
    };
    grid: Record<string, {
        order: "last" | "first";
        key: string;
        size: number;
        loc: "bottom" | "left" | "right" | "top";
    }>;
    viewport: {
        one: {
            x: number;
            y: number;
        };
        two: {
            x: number;
            y: number;
        };
        root: {
            x: "right" | "left";
            y: "top" | "bottom";
        };
    };
    hold: boolean;
    clearOverScan: number | {
        x: number;
        y: number;
    } | {
        width: number;
        height: number;
    } | {
        signedWidth: number;
        signedHeight: number;
    } | {
        clientX: number;
        clientY: number;
    } | [number, number];
}, {
    container: {
        one: {
            x: number;
            y: number;
        };
        two: {
            x: number;
            y: number;
        };
        root: {
            x: "right" | "left";
            y: "top" | "bottom";
        };
    };
    grid: Record<string, {
        order: "last" | "first";
        key: string;
        size: number;
        loc: "bottom" | "left" | "right" | "top";
    }>;
    viewport: {
        one: {
            x: number;
            y: number;
        };
        two: {
            x: number;
            y: number;
        };
        root: {
            x: "right" | "left";
            y: "top" | "bottom";
        };
    };
    hold?: boolean | undefined;
    clearOverScan?: number | {
        x: number;
        y: number;
    } | {
        width: number;
        height: number;
    } | {
        signedWidth: number;
        signedHeight: number;
    } | {
        clientX: number;
        clientY: number;
    } | [number, number] | undefined;
}>;
interface InternalState {
    instrumentation: Instrumentation;
    aggregate: status.Aggregate;
    renderCtx: render.Context;
}
type Children = XAxis | tooltip.Tooltip | measure.Measure;
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;
            }, "strip", z.ZodTypeAny, {
                x: number;
                y: number;
            }, {
                x: number;
                y: number;
            }>;
            two: z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                x: number;
                y: number;
            }, {
                x: number;
                y: number;
            }>;
            root: z.ZodObject<{
                x: z.ZodEnum<["left", "right"]>;
                y: z.ZodEnum<["top", "bottom"]>;
            }, "strip", z.ZodTypeAny, {
                x: "right" | "left";
                y: "top" | "bottom";
            }, {
                x: "right" | "left";
                y: "top" | "bottom";
            }>;
        }, "strip", z.ZodTypeAny, {
            one: {
                x: number;
                y: number;
            };
            two: {
                x: number;
                y: number;
            };
            root: {
                x: "right" | "left";
                y: "top" | "bottom";
            };
        }, {
            one: {
                x: number;
                y: number;
            };
            two: {
                x: number;
                y: number;
            };
            root: {
                x: "right" | "left";
                y: "top" | "bottom";
            };
        }>;
        viewport: z.ZodObject<{
            one: z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                x: number;
                y: number;
            }, {
                x: number;
                y: number;
            }>;
            two: z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                x: number;
                y: number;
            }, {
                x: number;
                y: number;
            }>;
            root: z.ZodObject<{
                x: z.ZodEnum<["left", "right"]>;
                y: z.ZodEnum<["top", "bottom"]>;
            }, "strip", z.ZodTypeAny, {
                x: "right" | "left";
                y: "top" | "bottom";
            }, {
                x: "right" | "left";
                y: "top" | "bottom";
            }>;
        }, "strip", z.ZodTypeAny, {
            one: {
                x: number;
                y: number;
            };
            two: {
                x: number;
                y: number;
            };
            root: {
                x: "right" | "left";
                y: "top" | "bottom";
            };
        }, {
            one: {
                x: number;
                y: number;
            };
            two: {
                x: number;
                y: number;
            };
            root: {
                x: "right" | "left";
                y: "top" | "bottom";
            };
        }>;
        hold: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
        grid: z.ZodRecord<z.ZodString, z.ZodObject<{
            key: z.ZodString;
            size: z.ZodNumber;
            order: z.ZodEnum<["first", "last"]>;
            loc: z.ZodEnum<["top", "right", "bottom", "left"]>;
        }, "strip", z.ZodTypeAny, {
            order: "last" | "first";
            key: string;
            size: number;
            loc: "bottom" | "left" | "right" | "top";
        }, {
            order: "last" | "first";
            key: string;
            size: number;
            loc: "bottom" | "left" | "right" | "top";
        }>>;
        clearOverScan: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
            x: z.ZodNumber;
            y: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            x: number;
            y: number;
        }, {
            x: number;
            y: number;
        }>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
            width: z.ZodNumber;
            height: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            width: number;
            height: number;
        }, {
            width: number;
            height: number;
        }>, z.ZodObject<{
            signedWidth: z.ZodNumber;
            signedHeight: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            signedWidth: number;
            signedHeight: number;
        }, {
            signedWidth: number;
            signedHeight: number;
        }>, z.ZodObject<{
            clientX: z.ZodNumber;
            clientY: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            clientX: number;
            clientY: number;
        }, {
            clientX: number;
            clientY: number;
        }>]>>>;
    }, "strip", z.ZodTypeAny, {
        container: {
            one: {
                x: number;
                y: number;
            };
            two: {
                x: number;
                y: number;
            };
            root: {
                x: "right" | "left";
                y: "top" | "bottom";
            };
        };
        grid: Record<string, {
            order: "last" | "first";
            key: string;
            size: number;
            loc: "bottom" | "left" | "right" | "top";
        }>;
        viewport: {
            one: {
                x: number;
                y: number;
            };
            two: {
                x: number;
                y: number;
            };
            root: {
                x: "right" | "left";
                y: "top" | "bottom";
            };
        };
        hold: boolean;
        clearOverScan: number | {
            x: number;
            y: number;
        } | {
            width: number;
            height: number;
        } | {
            signedWidth: number;
            signedHeight: number;
        } | {
            clientX: number;
            clientY: number;
        } | [number, number];
    }, {
        container: {
            one: {
                x: number;
                y: number;
            };
            two: {
                x: number;
                y: number;
            };
            root: {
                x: "right" | "left";
                y: "top" | "bottom";
            };
        };
        grid: Record<string, {
            order: "last" | "first";
            key: string;
            size: number;
            loc: "bottom" | "left" | "right" | "top";
        }>;
        viewport: {
            one: {
                x: number;
                y: number;
            };
            two: {
                x: number;
                y: number;
            };
            root: {
                x: "right" | "left";
                y: "top" | "bottom";
            };
        };
        hold?: boolean | undefined;
        clearOverScan?: number | {
            x: number;
            y: number;
        } | {
            width: number;
            height: number;
        } | {
            signedWidth: number;
            signedHeight: number;
        } | {
            clientX: number;
            clientY: number;
        } | [number, number] | undefined;
    }>;
    afterUpdate(): Promise<void>;
    afterDelete(): Promise<void>;
    findByXDecimal(x: number): Promise<FindResult[]>;
    findByXValue(x: number): Promise<FindResult[]>;
    private get axes();
    private get tooltips();
    private get measures();
    private get exposure();
    private renderAxes;
    private renderTooltips;
    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