@atlaskit/primitives
Version:
Primitives are token-backed low-level building blocks.
16 lines (15 loc) • 595 B
TypeScript
import type { SerializedStyles } from '@emotion/serialize';
import type { StrictXCSSProp, XCSSAllProperties, XCSSAllPseudos } from '@atlaskit/css';
import { type XCSS } from './xcss';
/**
* Picks out runtime XCSS objects and build-time XCSS strings. This is needed
* to supported both Emotion and Compiled styles until we've fully migrated
* to Compiled.
*
* @private
* @deprecated
*/
export declare const parseXcss: (args: XCSS | (XCSS | false | undefined)[] | undefined | StrictXCSSProp<XCSSAllProperties, XCSSAllPseudos>) => {
emotion?: SerializedStyles[];
static?: string;
};