import { z } from 'zod'; import { type MouseEvent } from 'react'; import { type DeserializedRecord, LinkDefinition as BaseLinkDefinition, LinkSchema } from '@makeswift/controls'; type DataType = z.infer; type ScrollOptions = z.infer; type MouseEventType = MouseEvent; export declare function validateElementRef(href: string): string | undefined; export declare class LinkDefinition extends BaseLinkDefinition { static deserialize(data: DeserializedRecord): LinkDefinition; resolveOnClick(data: DataType | undefined, href: string, scrollOptions: ScrollOptions | undefined): { (event: MouseEvent): void; $scrollOptions: { behavior?: "auto" | "smooth" | "instant" | undefined; block?: "start" | "center" | "end" | "nearest" | undefined; inline?: "start" | "center" | "end" | "nearest" | undefined; } | undefined; }; } export declare function Link(config?: { description?: string; label?: string; }): LinkDefinition; export {}; //# sourceMappingURL=link.d.ts.map