import { z } from 'zod'; import type { PendingAsyncActivityPage } from '../../core/types.ts'; import type { UnknownRestBinding } from '../rest-bindings.ts'; declare const completeAsyncActivityInput: z.ZodObject<{ token: z.ZodString; result: z.ZodOptional; }, z.core.$strip>; declare const listPendingAsyncActivitiesInput: z.ZodObject<{ workflowId: z.ZodString; limit: z.ZodDefault; cursor: z.ZodOptional; }, z.core.$strip>; /** * The failure payload is a *serializable* error description, not a live `Error`. * The engine already reduces an async-activity failure to `message` + `name` * before persisting it (`failAsyncActivity`), so nothing is lost by accepting * the reduced shape over the wire — and a live `Error` cannot cross a transport * boundary anyway. */ declare const failAsyncActivityInput: z.ZodObject<{ token: z.ZodString; error: z.ZodObject<{ message: z.ZodString; name: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const okOutput: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; export type CompleteAsyncActivityInput = z.infer; export type FailAsyncActivityInput = z.infer; export type AsyncActivityOutput = z.infer; export type ListPendingAsyncActivitiesInput = z.infer; export type ListPendingAsyncActivitiesOutput = PendingAsyncActivityPage; export declare const listPendingAsyncActivitiesOperation: import("../operation-catalog.ts").OperationDefinition<{ workflowId: string; limit: number; cursor?: string | undefined; }, PendingAsyncActivityPage, unknown>; export declare const completeAsyncActivityOperation: import("../operation-catalog.ts").OperationDefinition<{ token: string; result?: unknown; }, { ok: true; }, unknown>; export declare const failAsyncActivityOperation: import("../operation-catalog.ts").OperationDefinition<{ token: string; error: { message: string; name?: string | undefined; }; }, { ok: true; }, unknown>; export declare const listPendingAsyncActivitiesRestBinding: UnknownRestBinding; export declare const completeAsyncActivityRestBinding: UnknownRestBinding; export declare const failAsyncActivityRestBinding: UnknownRestBinding; export {};