import { ranger, Synnax } from '@synnaxlabs/client'; import { box, scale, TimeRange } from '@synnaxlabs/x'; import { z } from 'zod'; import { aether } from '../../../aether/aether'; import { flux } from '../../../flux/aether'; import { ranger as aetherRanger } from '../../../ranger/aether'; import { status } from '../../../status/aether'; import { Draw2D } from '../../../vis/draw2d'; import { render } from '../../../vis/render'; export declare const selectedStateZ: z.ZodObject<{ key: z.ZodUUID; name: z.ZodString; timeRange: z.ZodUnion, z.ZodPipe, z.ZodTransform>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe, z.ZodTransform>, z.ZodPipe, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform>]>; end: z.ZodUnion, z.ZodPipe, z.ZodTransform>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe, z.ZodTransform>, z.ZodPipe, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform>]>; }, z.core.$strip>, z.ZodTransform>, z.ZodCustom]>; color: z.ZodOptional, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodNumber; }, z.core.$strip>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodPipe>; }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; } | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; }>>>; labels: z.ZodOptional; name: z.ZodString; color: z.ZodPipe, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodNumber; }, z.core.$strip>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodPipe>; }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; } | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; }>>; }, z.core.$strip>>>, z.ZodTransform<{ key: string; name: string; color: [number, number, number, number]; }[] | undefined, { key: string; name: string; color: [number, number, number, number]; }[] | null>>>; parent: z.ZodOptional; viewport: z.ZodObject<{ lower: z.ZodNumber | z.ZodType>; upper: z.ZodNumber | z.ZodType>; }, z.core.$strip>; }, z.core.$strip>; export type SelectedState = z.infer; export declare const providerStateZ: z.ZodObject<{ cursor: z.ZodUnion<[z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>, z.ZodNull]>; visible: z.ZodDefault>; hovered: z.ZodUnion<[z.ZodObject<{ key: z.ZodUUID; name: z.ZodString; timeRange: z.ZodUnion, z.ZodPipe, z.ZodTransform>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe, z.ZodTransform>, z.ZodPipe, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform>]>; end: z.ZodUnion, z.ZodPipe, z.ZodTransform>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe, z.ZodTransform>, z.ZodPipe, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform>]>; }, z.core.$strip>, z.ZodTransform>, z.ZodCustom]>; color: z.ZodOptional, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodNumber; }, z.core.$strip>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodPipe>; }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; } | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; }>>>; labels: z.ZodOptional; name: z.ZodString; color: z.ZodPipe, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodNumber; }, z.core.$strip>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodPipe>; }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; } | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; }>>; }, z.core.$strip>>>, z.ZodTransform<{ key: string; name: string; color: [number, number, number, number]; }[] | undefined, { key: string; name: string; color: [number, number, number, number]; }[] | null>>>; parent: z.ZodOptional; viewport: z.ZodObject<{ lower: z.ZodNumber | z.ZodType>; upper: z.ZodNumber | z.ZodType>; }, z.core.$strip>; }, z.core.$strip>, z.ZodNull]>; count: z.ZodNumber; }, z.core.$strip>; export type ProviderState = z.infer; interface InternalState { retrieve: flux.Retrieve; client: Synnax | null; render: render.Context; requestRender: render.Requestor; draw: Draw2D; runAsync: status.ErrorHandler; } export interface ProviderProps { dataToDecimalScale: scale.Scale; viewport: box.Box; region: box.Box; timeRange: TimeRange; } /** * The most ranges the annotation strip draws for one window. A denser window draws * none: the strip cannot label them legibly in 32 pixels, and the Core answers a * limited query in key order, so drawing a truncated answer would show an arbitrary * subset that changes as the window moves. */ export declare const MAX_ANNOTATIONS = 100; export declare class Provider extends aether.Leaf { static readonly TYPE = "range-provider"; static readonly stateZ: z.ZodObject<{ cursor: z.ZodUnion<[z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>, z.ZodNull]>; visible: z.ZodDefault>; hovered: z.ZodUnion<[z.ZodObject<{ key: z.ZodUUID; name: z.ZodString; timeRange: z.ZodUnion, z.ZodPipe, z.ZodTransform>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe, z.ZodTransform>, z.ZodPipe, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform>]>; end: z.ZodUnion, z.ZodPipe, z.ZodTransform>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe, z.ZodTransform>, z.ZodPipe, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform>]>; }, z.core.$strip>, z.ZodTransform>, z.ZodCustom]>; color: z.ZodOptional, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodNumber; }, z.core.$strip>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodPipe>; }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; } | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; }>>>; labels: z.ZodOptional; name: z.ZodString; color: z.ZodPipe, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodNumber; }, z.core.$strip>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodPipe>; }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; } | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; }>>; }, z.core.$strip>>>, z.ZodTransform<{ key: string; name: string; color: [number, number, number, number]; }[] | undefined, { key: string; name: string; color: [number, number, number, number]; }[] | null>>>; parent: z.ZodOptional; viewport: z.ZodObject<{ lower: z.ZodNumber | z.ZodType>; upper: z.ZodNumber | z.ZodType>; }, z.core.$strip>; }, z.core.$strip>, z.ZodNull]>; count: z.ZodNumber; }, z.core.$strip>; schema: z.ZodObject<{ cursor: z.ZodUnion<[z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>, z.ZodNull]>; visible: z.ZodDefault>; hovered: z.ZodUnion<[z.ZodObject<{ key: z.ZodUUID; name: z.ZodString; timeRange: z.ZodUnion, z.ZodPipe, z.ZodTransform>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe, z.ZodTransform>, z.ZodPipe, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform>]>; end: z.ZodUnion, z.ZodPipe, z.ZodTransform>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe, z.ZodTransform>, z.ZodPipe, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform>]>; }, z.core.$strip>, z.ZodTransform>, z.ZodCustom]>; color: z.ZodOptional, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodNumber; }, z.core.$strip>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodPipe>; }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; } | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; }>>>; labels: z.ZodOptional; name: z.ZodString; color: z.ZodPipe, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodNumber; }, z.core.$strip>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodPipe>], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodPipe>; }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; } | { rgba255: [number, number, number, number]; } | { r: number; g: number; b: number; a: number; }>>; }, z.core.$strip>>>, z.ZodTransform<{ key: string; name: string; color: [number, number, number, number]; }[] | undefined, { key: string; name: string; color: [number, number, number, number]; }[] | null>>>; parent: z.ZodOptional; viewport: z.ZodObject<{ lower: z.ZodNumber | z.ZodType>; upper: z.ZodNumber | z.ZodType>; }, z.core.$strip>; }, z.core.$strip>, z.ZodNull]>; count: z.ZodNumber; }, z.core.$strip>; afterUpdate(ctx: aether.Context): void; afterDelete(): void; render(props: ProviderProps): void; } export {}; //# sourceMappingURL=provider.d.ts.map