import { ButtonProps } from "@lifesg/react-design-system/button"; import * as Icons from "@lifesg/react-icons"; import { IBaseFieldSchema } from "../types"; import { TFieldEventListener } from "../../../utils"; export type TLinkTarget = "_blank" | "_self" | "_parent" | "_top"; export interface IButtonSchema extends Omit, "validation">, Omit { startIcon?: keyof typeof Icons | undefined; endIcon?: keyof typeof Icons | undefined; "data-testid"?: string | undefined; label: string; href?: string | undefined; target?: TLinkTarget | undefined; } /** fired when button is clicked */ declare function buttonEvent(uiType: "button", type: "click", id: string, listener: TFieldEventListener, options?: boolean | AddEventListenerOptions | undefined): void; export type TButtonEvents = typeof buttonEvent; export {};