import { z } from 'zod'; import { type AggregateResult } from '../../core/engine/aggregate.ts'; import type { UnknownRestBinding } from '../rest-bindings.ts'; declare const aggregateWorkflowsInput: z.ZodObject<{ status: z.ZodOptional>, z.ZodArray>>]>>; type: z.ZodOptional; tags: z.ZodOptional>; attributes: z.ZodOptional; value: z.ZodOptional>>; gt: z.ZodOptional>>; lt: z.ZodOptional>>; gte: z.ZodOptional>>; lte: z.ZodOptional>>; }, z.core.$strip>>>; scheduleId: z.ZodOptional; parentWorkflowId: z.ZodOptional; parentWorkflowExecutionToken: z.ZodOptional; idPrefix: z.ZodOptional; createdAt: z.ZodOptional; lte: z.ZodOptional; gt: z.ZodOptional; lt: z.ZodOptional; }, z.core.$strict>>; updatedAt: z.ZodOptional; lte: z.ZodOptional; gt: z.ZodOptional; lt: z.ZodOptional; }, z.core.$strict>>; executionDeadline: z.ZodOptional; lte: z.ZodOptional; gt: z.ZodOptional; lt: z.ZodOptional; }, z.core.$strict>>; failureCategory: z.ZodOptional>, z.ZodArray>>]>>; groupBy: z.ZodUnion, z.ZodLiteral<"type">, z.ZodLiteral<"failureCategory">, z.ZodObject<{ attribute: z.ZodString; }, z.core.$strict>]>; limit: z.ZodOptional; }, z.core.$strict>; export type AggregateWorkflowsInput = z.infer; export type AggregateWorkflowsOutput = AggregateResult; export declare const aggregateWorkflowsOperation: import("../operation-catalog.ts").OperationDefinition<{ groupBy: "status" | "type" | "failureCategory" | { attribute: string; }; status?: import("../../index.ts").WorkflowStatus | import("../../index.ts").WorkflowStatus[] | undefined; type?: string | undefined; tags?: string[] | undefined; attributes?: { key: any; value?: unknown; gt?: unknown; lt?: unknown; gte?: unknown; lte?: unknown; }[] | undefined; scheduleId?: string | undefined; parentWorkflowId?: string | undefined; parentWorkflowExecutionToken?: string | undefined; idPrefix?: string | undefined; createdAt?: { gte?: number | undefined; lte?: number | undefined; gt?: number | undefined; lt?: number | undefined; } | undefined; updatedAt?: { gte?: number | undefined; lte?: number | undefined; gt?: number | undefined; lt?: number | undefined; } | undefined; executionDeadline?: { gte?: number | undefined; lte?: number | undefined; gt?: number | undefined; lt?: number | undefined; } | undefined; failureCategory?: import("../../index.ts").FailureCategory | import("../../index.ts").FailureCategory[] | undefined; limit?: number | undefined; }, AggregateResult, unknown>; export declare const aggregateWorkflowsRestBinding: UnknownRestBinding; export {};