import React from 'react'; import { ButtonBaseProps } from '../../Button'; import type { BaseProps } from '../../component-helpers'; type RestrictedPolymorphism = (BaseProps & { as?: 'a'; }) | (BaseProps & { as?: 'button'; }); export type HeroPrimaryActionProps = { as?: 'a' | 'button'; href: string; } & ButtonBaseProps & RestrictedPolymorphism; export declare const HeroPrimaryAction: React.ForwardRefExoticComponent<(Omit<{ as?: "a" | "button"; href: string; } & ButtonBaseProps & BaseProps & { as?: "a"; } & { children?: React.ReactNode | undefined; }, "ref"> | Omit<{ as?: "a" | "button"; href: string; } & ButtonBaseProps & BaseProps & { as?: "button"; } & { children?: React.ReactNode | undefined; }, "ref">) & React.RefAttributes>; export {};