import { status } from '@synnaxlabs/client'; import { z } from 'zod'; import { aether } from '../../aether/aether'; import { Adder, ErrorHandler } from './errorHandler'; import { AsyncErrorHandler } from '../base/Aggregator'; export declare const aggregatorStateZ: z.ZodObject<{ statuses: z.ZodArray>>; }, z.core.$strip>; export interface AggregatorState extends z.infer { } export declare class Aggregator extends aether.Composite { static readonly TYPE: string; schema: z.ZodObject<{ statuses: z.ZodArray>>; }, z.core.$strip>; afterUpdate(ctx: aether.Context): void; private add; } export declare const useAdder: (ctx: aether.Context) => Adder; export declare const useOptionalAdder: (ctx: aether.Context) => Adder; export declare const useErrorHandler: (ctx: aether.Context) => ErrorHandler; export declare const useAsyncErrorHandler: (ctx: aether.Context) => AsyncErrorHandler; export declare const REGISTRY: aether.ComponentRegistry; //# sourceMappingURL=aggregator.d.ts.map