// @flow import type { Globals } from "../common/common.js.flow"; type Type = "primary" | "secondary"; export type Props = {| +children: React$Node, +href?: string, +icon?: React$Node, +onClick?: (SyntheticEvent) => void | Promise, +external?: boolean, +type?: Type, +rel?: string, ...Globals, |}; type styledTextLink = { tokens?: { [key: string]: string | number }, type?: Type, }; declare export var StyledTextLink: React$ComponentType; declare export default React$ComponentType;