UNPKG

@octopusdeploy/design-system-components

Version:
24 lines (23 loc) 1.1 kB
import type { LiteralValueOf } from "../literal/literalContent"; import type { LiteralBold, LiteralExternalLink, LiteralInlineCode, LiteralLink, LiteralNode } from "../literal/literalNodes"; import { bold, code, externalLink, link } from "../literal/literalNodes"; export type CalloutLink = LiteralLink; export type CalloutExternalLink = LiteralExternalLink; export type CalloutInlineCode = LiteralInlineCode; export type CalloutBoldContent = LiteralBold; export type CalloutContent = Array<string | CalloutLink | CalloutExternalLink | CalloutInlineCode | CalloutBoldContent | CalloutContent>; type CalloutContentValue = LiteralValueOf<LiteralNode>; declare const calloutContentTag: (strings: TemplateStringsArray, ...values: CalloutContentValue[]) => CalloutContent; export declare const calloutContent: typeof calloutContentTag & { link: typeof link; externalLink: typeof externalLink; code: typeof code; bold: typeof bold; }; export declare const callout: { link: typeof link; externalLink: typeof externalLink; code: typeof code; bold: typeof bold; }; export {};