import { z } from "zod"; //#region src/tanstack/interrupts.d.ts /** Register on the server and client when using GitHub automatic approval. */ declare const githubToolApproval: Omit; }, z.core.$strip>, z.ZodObject<{ approved: z.ZodBoolean; }, z.core.$strip>, { toolCallId: string; toolName: string; input: Record; }, { toolCallId: string; toolName: string; input: Record; }>, "interrupt"> & { interrupt: (input: TInput & (TInput extends { key: string; reason: string; message: string; expiresAt?: string; } & { payload?: { toolCallId: string; toolName: string; input: Record; } | undefined; } ? Exclude extends never ? unknown : { [K in Exclude]: never; } : never)) => { readonly definition: import("@tanstack/ai").InterruptDefinition<"github-tools.approval", z.ZodObject<{ toolCallId: z.ZodString; toolName: z.ZodString; input: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ approved: z.ZodBoolean; }, z.core.$strip>, { toolCallId: string; toolName: string; input: Record; }, { toolCallId: string; toolName: string; input: Record; }>; readonly key: string; readonly reason: string; readonly message: string; readonly expiresAt?: string; } & { readonly payload: { toolCallId: string; toolName: string; input: Record; } | undefined; }; }; //#endregion export { githubToolApproval as t }; //# sourceMappingURL=interrupts-BSDPwdJ2.d.mts.map