import { V as ValidationResult, A as ActionMetadata, T as TransactionRequest, a as TransactionResponse, L as LinkedAction, b as TypedActionParameter, C as ChainConfig } from './types-DD9rJ58Y.mjs'; export { d as ActionButton, h as ActionContext, g as ActionDefinition, e as ActionError, f as ActionHandler, o as ActionLinks, l as ActionParameter, k as ActionParameterBase, j as ActionParameterOption, m as ActionParameterSelectable, i as ActionParameterType, c as ActionType, E as EVMTransaction, I as InlineNextActionLink, n as LinkedActionType, N as NextActionLink, P as PostNextActionLink, S as SelectableParameterType } from './types-DD9rJ58Y.mjs'; export { A as Action, E as ExtendedActionDefinition, a as actionButton, k as addressParam, j as amountParam, e as buildHref, b as button, m as checkboxParam, c as createAction, d as createLinks, o as dateParam, f as extractParams, h as hasParameters, i as input, g as isSelectableParam, l as linkedAction, n as numberParam, q as option, r as radioParam, s as selectParam, t as textParam, p as textareaParam } from './builders-pKj4NiIj.mjs'; import { z } from 'zod'; declare const ActionButtonSchema: z.ZodObject<{ label: z.ZodString; value: z.ZodString; type: z.ZodEnum<["button", "input"]>; placeholder: z.ZodOptional; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { label: string; value: string; type: "button" | "input"; placeholder?: string | undefined; disabled?: boolean | undefined; }, { label: string; value: string; type: "button" | "input"; placeholder?: string | undefined; disabled?: boolean | undefined; }>; /** * Option for select/radio/checkbox */ declare const ActionParameterOptionSchema: z.ZodObject<{ label: z.ZodString; value: z.ZodString; selected: z.ZodOptional; }, "strip", z.ZodTypeAny, { label: string; value: string; selected?: boolean | undefined; }, { label: string; value: string; selected?: boolean | undefined; }>; /** * Non-selectable parameter (text, number, etc.) */ declare const ActionParameterSchema: z.ZodObject<{ name: z.ZodString; label: z.ZodOptional; required: z.ZodOptional; pattern: z.ZodOptional; patternDescription: z.ZodOptional; min: z.ZodOptional>; max: z.ZodOptional>; } & { type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }, { name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }>; /** * Selectable parameter (select, radio, checkbox) */ declare const ActionParameterSelectableSchema: z.ZodObject<{ name: z.ZodString; label: z.ZodOptional; required: z.ZodOptional; pattern: z.ZodOptional; patternDescription: z.ZodOptional; min: z.ZodOptional>; max: z.ZodOptional>; } & { type: z.ZodEnum<["select", "radio", "checkbox"]>; options: z.ZodArray; }, "strip", z.ZodTypeAny, { label: string; value: string; selected?: boolean | undefined; }, { label: string; value: string; selected?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }, { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }>; /** * Union of all parameter types */ declare const TypedActionParameterSchema: z.ZodUnion<[z.ZodObject<{ name: z.ZodString; label: z.ZodOptional; required: z.ZodOptional; pattern: z.ZodOptional; patternDescription: z.ZodOptional; min: z.ZodOptional>; max: z.ZodOptional>; } & { type: z.ZodEnum<["select", "radio", "checkbox"]>; options: z.ZodArray; }, "strip", z.ZodTypeAny, { label: string; value: string; selected?: boolean | undefined; }, { label: string; value: string; selected?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }, { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }>, z.ZodObject<{ name: z.ZodString; label: z.ZodOptional; required: z.ZodOptional; pattern: z.ZodOptional; patternDescription: z.ZodOptional; min: z.ZodOptional>; max: z.ZodOptional>; } & { type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }, { name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }>]>; /** * Linked action with href template and parameters */ declare const LinkedActionSchema: z.ZodObject<{ type: z.ZodOptional>; href: z.ZodString; label: z.ZodString; disabled: z.ZodOptional; parameters: z.ZodOptional; required: z.ZodOptional; pattern: z.ZodOptional; patternDescription: z.ZodOptional; min: z.ZodOptional>; max: z.ZodOptional>; } & { type: z.ZodEnum<["select", "radio", "checkbox"]>; options: z.ZodArray; }, "strip", z.ZodTypeAny, { label: string; value: string; selected?: boolean | undefined; }, { label: string; value: string; selected?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }, { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }>, z.ZodObject<{ name: z.ZodString; label: z.ZodOptional; required: z.ZodOptional; pattern: z.ZodOptional; patternDescription: z.ZodOptional; min: z.ZodOptional>; max: z.ZodOptional>; } & { type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }, { name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }>]>, "many">>; }, "strip", z.ZodTypeAny, { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }, { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }>; /** * Links section containing linked actions */ declare const ActionLinksSchema: z.ZodObject<{ actions: z.ZodArray>; href: z.ZodString; label: z.ZodString; disabled: z.ZodOptional; parameters: z.ZodOptional; required: z.ZodOptional; pattern: z.ZodOptional; patternDescription: z.ZodOptional; min: z.ZodOptional>; max: z.ZodOptional>; } & { type: z.ZodEnum<["select", "radio", "checkbox"]>; options: z.ZodArray; }, "strip", z.ZodTypeAny, { label: string; value: string; selected?: boolean | undefined; }, { label: string; value: string; selected?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }, { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }>, z.ZodObject<{ name: z.ZodString; label: z.ZodOptional; required: z.ZodOptional; pattern: z.ZodOptional; patternDescription: z.ZodOptional; min: z.ZodOptional>; max: z.ZodOptional>; } & { type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }, { name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }>]>, "many">>; }, "strip", z.ZodTypeAny, { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }, { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { actions: { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }[]; }, { actions: { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }[]; }>; declare const NextActionLinkSchema: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral<"post">; href: z.ZodString; }, "strip", z.ZodTypeAny, { type: "post"; href: string; }, { type: "post"; href: string; }>, z.ZodType<{ type: "inline"; action: ActionMetadata; }, z.ZodTypeDef, { type: "inline"; action: ActionMetadata; }>]>; /** * Enhanced ActionMetadata schema with links support */ declare const ActionMetadataSchema: z.ZodEffects>; title: z.ZodString; icon: z.ZodEffects; description: z.ZodString; label: z.ZodOptional; actions: z.ZodOptional; placeholder: z.ZodOptional; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { label: string; value: string; type: "button" | "input"; placeholder?: string | undefined; disabled?: boolean | undefined; }, { label: string; value: string; type: "button" | "input"; placeholder?: string | undefined; disabled?: boolean | undefined; }>, "many">>; links: z.ZodOptional>; href: z.ZodString; label: z.ZodString; disabled: z.ZodOptional; parameters: z.ZodOptional; required: z.ZodOptional; pattern: z.ZodOptional; patternDescription: z.ZodOptional; min: z.ZodOptional>; max: z.ZodOptional>; } & { type: z.ZodEnum<["select", "radio", "checkbox"]>; options: z.ZodArray; }, "strip", z.ZodTypeAny, { label: string; value: string; selected?: boolean | undefined; }, { label: string; value: string; selected?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }, { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }>, z.ZodObject<{ name: z.ZodString; label: z.ZodOptional; required: z.ZodOptional; pattern: z.ZodOptional; patternDescription: z.ZodOptional; min: z.ZodOptional>; max: z.ZodOptional>; } & { type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }, { name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; }>]>, "many">>; }, "strip", z.ZodTypeAny, { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }, { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { actions: { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }[]; }, { actions: { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }[]; }>>; disabled: z.ZodOptional; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title: string; icon: string; description: string; label?: string | undefined; type?: "action" | "completed" | undefined; disabled?: boolean | undefined; actions?: { label: string; value: string; type: "button" | "input"; placeholder?: string | undefined; disabled?: boolean | undefined; }[] | undefined; links?: { actions: { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }[]; } | undefined; error?: { message: string; } | undefined; }, { title: string; icon: string; description: string; label?: string | undefined; type?: "action" | "completed" | undefined; disabled?: boolean | undefined; actions?: { label: string; value: string; type: "button" | "input"; placeholder?: string | undefined; disabled?: boolean | undefined; }[] | undefined; links?: { actions: { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }[]; } | undefined; error?: { message: string; } | undefined; }>, { title: string; icon: string; description: string; label?: string | undefined; type?: "action" | "completed" | undefined; disabled?: boolean | undefined; actions?: { label: string; value: string; type: "button" | "input"; placeholder?: string | undefined; disabled?: boolean | undefined; }[] | undefined; links?: { actions: { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }[]; } | undefined; error?: { message: string; } | undefined; }, { title: string; icon: string; description: string; label?: string | undefined; type?: "action" | "completed" | undefined; disabled?: boolean | undefined; actions?: { label: string; value: string; type: "button" | "input"; placeholder?: string | undefined; disabled?: boolean | undefined; }[] | undefined; links?: { actions: { label: string; href: string; type?: "transaction" | "post" | "external-link" | undefined; disabled?: boolean | undefined; parameters?: ({ name: string; label?: string | undefined; type?: "number" | "text" | "email" | "url" | "date" | "datetime-local" | "textarea" | "address" | "token" | "amount" | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; } | { type: "select" | "radio" | "checkbox"; options: { label: string; value: string; selected?: boolean | undefined; }[]; name: string; label?: string | undefined; required?: boolean | undefined; pattern?: string | undefined; patternDescription?: string | undefined; min?: string | number | undefined; max?: string | number | undefined; })[] | undefined; }[]; } | undefined; error?: { message: string; } | undefined; }>; /** * Enhanced TransactionRequest with data support */ declare const TransactionRequestSchema: z.ZodObject<{ account: z.ZodString; action: z.ZodString; input: z.ZodOptional; data: z.ZodOptional]>>>; }, "strip", z.ZodTypeAny, { action: string; account: string; input?: string | undefined; data?: Record | undefined; }, { action: string; account: string; input?: string | undefined; data?: Record | undefined; }>; /** * Enhanced TransactionResponse with multi-tx and chaining support */ declare const TransactionResponseSchema: z.ZodEffects>; transactions: z.ZodOptional, "many">>; message: z.ZodOptional; links: z.ZodOptional; href: z.ZodString; }, "strip", z.ZodTypeAny, { type: "post"; href: string; }, { type: "post"; href: string; }>, z.ZodType<{ type: "inline"; action: ActionMetadata; }, z.ZodTypeDef, { type: "inline"; action: ActionMetadata; }>]>>; }, "strip", z.ZodTypeAny, { next?: { type: "post"; href: string; } | { type: "inline"; action: ActionMetadata; } | undefined; }, { next?: { type: "post"; href: string; } | { type: "inline"; action: ActionMetadata; } | undefined; }>>; }, "strip", z.ZodTypeAny, { transaction?: { value: string; data: string; to: string; chainId: number; } | undefined; message?: string | undefined; links?: { next?: { type: "post"; href: string; } | { type: "inline"; action: ActionMetadata; } | undefined; } | undefined; transactions?: { value: string; data: string; to: string; chainId: number; }[] | undefined; }, { transaction?: { value: string; data: string; to: string; chainId: number; } | undefined; message?: string | undefined; links?: { next?: { type: "post"; href: string; } | { type: "inline"; action: ActionMetadata; } | undefined; } | undefined; transactions?: { value: string; data: string; to: string; chainId: number; }[] | undefined; }>, { transaction?: { value: string; data: string; to: string; chainId: number; } | undefined; message?: string | undefined; links?: { next?: { type: "post"; href: string; } | { type: "inline"; action: ActionMetadata; } | undefined; } | undefined; transactions?: { value: string; data: string; to: string; chainId: number; }[] | undefined; }, { transaction?: { value: string; data: string; to: string; chainId: number; } | undefined; message?: string | undefined; links?: { next?: { type: "post"; href: string; } | { type: "inline"; action: ActionMetadata; } | undefined; } | undefined; transactions?: { value: string; data: string; to: string; chainId: number; }[] | undefined; }>; declare function validateActionMetadata(data: unknown): ValidationResult; declare function validateTransactionRequest(data: unknown): ValidationResult; declare function validateTransactionResponse(data: unknown): ValidationResult; declare function isValidAddress(address: string): boolean; declare function isValidHex(hex: string): boolean; /** * Validate a linked action */ declare function validateLinkedAction(data: unknown): ValidationResult; /** * Validate a parameter */ declare function validateParameter(data: unknown): ValidationResult; /** * Validate parameter values against their definitions */ declare function validateParameterValues(parameters: TypedActionParameter[], values: Record): ValidationResult>; declare function createMlinkUrl(actionUrl: string, baseUrl?: string): string; declare function parseMlinkUrl(mlinkUrl: string): string | null; declare function isMlinkUrl(url: string): boolean; declare function parseEther(amount: string | number): string; declare function formatEther(wei: string | bigint): string; declare function shortenAddress(address: string): string; declare function getExplorerUrl(chainId: number, txHash: string): string; declare function getChainById(chainId: number): ChainConfig | undefined; declare function getAddressExplorerUrl(chainId: number, address: string): string; declare const MANTLE_MAINNET: ChainConfig; declare const MANTLE_SEPOLIA: ChainConfig; declare const SUPPORTED_CHAINS: ChainConfig[]; declare const DEFAULT_CHAIN: ChainConfig; declare const MLINK_BASE_URL = "https://www.m-links.xyz"; declare const ACTION_QUERY_PARAM = "action"; declare const REGISTRY_URL = "https://mlink-client.vercel.app"; declare const REGISTRY_VALIDATE_ENDPOINT = "/api/registry/validate"; export { ACTION_QUERY_PARAM, ActionButtonSchema, ActionLinksSchema, ActionMetadata, ActionMetadataSchema, ActionParameterOptionSchema, ActionParameterSchema, ActionParameterSelectableSchema, ChainConfig, DEFAULT_CHAIN, LinkedAction, LinkedActionSchema, MANTLE_MAINNET, MANTLE_SEPOLIA, MLINK_BASE_URL, NextActionLinkSchema, REGISTRY_URL, REGISTRY_VALIDATE_ENDPOINT, SUPPORTED_CHAINS, TransactionRequest, TransactionRequestSchema, TransactionResponse, TransactionResponseSchema, TypedActionParameter, TypedActionParameterSchema, ValidationResult, createMlinkUrl, formatEther, getAddressExplorerUrl, getChainById, getExplorerUrl, isMlinkUrl, isValidAddress, isValidHex, parseEther, parseMlinkUrl, shortenAddress, validateActionMetadata, validateLinkedAction, validateParameter, validateParameterValues, validateTransactionRequest, validateTransactionResponse };