/** * This is just a method that allows you to tag an interpolation * string as a syntax language. * * This is useful with IDE extensions that can detect the language * and do the syntax highlighting for you. * * @param strings - * The string breaks for interpolation. * @param expressions - * The equivalent expressions that break apart * the single string literal. * * @returns * The compiled string literal. This is no different * than letting native JavaScript do it for you. * * @example * * ```ts * const html = tag; * const css = tag; * * const $html = html` *
Some IDE extensions will highlight this as html
* ` * * const $css = css` * button { * display: grid; * } * ` * ``` */ export declare function tag(strings: TemplateStringsArray, ...expressions: unknown[]): string; /** * An alias for {@link tag}. * * Some {@link https://marketplace.visualstudio.com/items?itemName=Tobermory.es6-string-html | IDE extensions will detect the string} * interpolation as html when using this tag. */ export declare const html: typeof tag; /** * An alias for {@link tag}. * * Some {@link https://marketplace.visualstudio.com/items?itemName=bashmish.es6-string-css | IDE extensions will detect the string} * interpolation as css when using this tag. */ export declare const css: typeof tag; /** * An alias for {@link tag}. * * Some {@link https://marketplace.visualstudio.com/items?itemName=zjcompt.es6-string-javascript | IDE extensions will detect the string} * interpolation as javascript when using this tag. */ export declare const js: typeof tag; /** * See {@link js} */ export declare const javascript: typeof tag; /** * An alias for {@link tag}. * * Some {@link https://marketplace.visualstudio.com/items?itemName=jeoht.es6-string-markdown | IDE extensions will detect the string} * interpolation as markdown when using this tag. */ export declare const md: typeof tag; /** * See {@link md} */ export declare const markdown: typeof tag; /** * An alias for {@link tag}. * * Some {@link https://marketplace.visualstudio.com/items?itemName=HoodieCollin.es6-string-typescript | IDE extensions will detect the string} * interpolation as typescript when using this tag. */ export declare const ts: typeof tag; /** * See {@link ts} */ export declare const typescript: typeof tag; /** * An alias for {@link tag}. */ export declare const sh: typeof tag; /** * An alias for {@link tag}. */ export declare const bash: typeof tag; /** * An alias for {@link tag}. */ export declare const zsh: typeof tag;