import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * A follow-up action that can be invoked by the user after a response. The action parameters are not included and need to be predicted/filled separately. */ export type FollowupAction = { /** * Unique identifier for this actionRun recommendation event. */ actionRunId?: string | undefined; /** * The ID of the action instance that will be invoked. */ actionInstanceId?: string | undefined; /** * The ID of the associated action. */ actionId?: string | undefined; /** * Map of assistant predicted parameters and their corresponding values. */ parameters?: { [k: string]: string; } | undefined; /** * Text to be displayed to the user when recommending the action instance. */ recommendationText?: string | undefined; /** * The label to be used when displaying a button to execute this action instance. */ actionLabel?: string | undefined; /** * Whether user confirmation is needed before executing this action instance. */ userConfirmationRequired?: boolean | undefined; }; /** @internal */ export declare const FollowupAction$inboundSchema: z.ZodType; /** @internal */ export type FollowupAction$Outbound = { actionRunId?: string | undefined; actionInstanceId?: string | undefined; actionId?: string | undefined; parameters?: { [k: string]: string; } | undefined; recommendationText?: string | undefined; actionLabel?: string | undefined; userConfirmationRequired?: boolean | undefined; }; /** @internal */ export declare const FollowupAction$outboundSchema: z.ZodType; export declare function followupActionToJSON(followupAction: FollowupAction): string; export declare function followupActionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=followupaction.d.ts.map