UNPKG

@octopusdeploy/design-system-components

Version:
19 lines (18 loc) 888 B
import type { LiteralContentOf, LiteralValueOf } from "../../literal/literalContent"; import type { LiteralExternalLink, LiteralInlineCode, LiteralLink } from "../../literal/literalNodes"; import { code, externalLink, link } from "../../literal/literalNodes"; type DescriptionNode = LiteralLink | LiteralExternalLink | LiteralInlineCode; export type DescriptionContent = LiteralContentOf<DescriptionNode>; type DescriptionContentValue = LiteralValueOf<DescriptionNode>; declare const descriptionTextTag: (strings: TemplateStringsArray, ...values: DescriptionContentValue[]) => DescriptionContent; export declare const descriptionText: typeof descriptionTextTag & { link: typeof link; externalLink: typeof externalLink; code: typeof code; }; export declare const description: { link: typeof link; externalLink: typeof externalLink; code: typeof code; }; export {};