File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/node_modules/safevalues/builders/style_builders.d.ts
/**
* @license
* SPDX-License-Identifier: Apache-2.0
*/
import '../environment/dev';
import { SafeStyle } from '../internals/style_impl';
/**
* Creates a SafeStyle object from a template literal (without any embedded
* expressions).
*
* ` style` should be in the format
* ` name: value; [name: value; ...]` and must not have any < or >
* characters in it. This is so that SafeStyle's contract is preserved,
* allowing the SafeStyle to correctly be interpreted as a sequence of CSS
* declarations and without affecting the syntactic structure of any
* surrounding CSS and HTML.
*
* This function is a template literal tag function. It should be called with
* a template literal that does not contain any expressions. For example,
* safeStyle`foo`;
* This function first checks if it is called with a literal template, and
* then performs basic sanity checks on the format of ` style`
* but does not constrain the format of ` name} and {@code value`, except
* for disallowing tag characters.
*
* @param templateObj This contains the literal part of the template literal.
*/
export declare function safeStyle(templateObj: TemplateStringsArray): SafeStyle;
/** Creates a `SafeStyle` value by concatenating multiple `SafeStyle`s. */
export declare function concatStyles(styles: readonly SafeStyle[]): SafeStyle;