import type { CSSProps, CssObject, CssFunction } from '../types.js'; /** * ## CSS * * Create styles that are statically typed and useable with other Compiled APIs. * For further details [read the documentation](https://compiledcssinjs.com/docs/api-css). * * This API does not currently work with XCSS prop. * * ### Style with objects * * @example * ``` * const redText = css({ * color: 'red', * }); * *
* ``` * * ### Style with template literals * * @example * ``` * const redText = css` * color: red; * `; * *
* ``` */ export default function css(styles: TemplateStringsArray, ...interpolations: CssFunction[]): CSSProps; export default function css(styles: CssObject | CssObject[] | CSSProps | CSSProps[]): CSSProps;