1 |
|
2 |
|
3 | import { RegisteredCache, SerializedStyles } from "./@emotion-cache-node_modules-@emotion-utils-types-index";
|
4 | import * as CSS from "./@emotion-react-node_modules-csstype-index";
|
5 | export { RegisteredCache, SerializedStyles };
|
6 | export type CSSProperties = CSS.PropertiesFallback<number | string>;
|
7 | export type CSSPropertiesWithMultiValues = {
|
8 | [K in keyof CSSProperties]: CSSProperties[K] | Array<Extract<CSSProperties[K], string>>;
|
9 | };
|
10 | export type CSSPseudos = {
|
11 | [K in CSS.Pseudos]?: CSSObject;
|
12 | };
|
13 | export interface ArrayCSSInterpolation extends Array<CSSInterpolation> {
|
14 | }
|
15 | export type InterpolationPrimitive = null | undefined | boolean | number | string | ComponentSelector | Keyframes | SerializedStyles | CSSObject;
|
16 | export type CSSInterpolation = InterpolationPrimitive | ArrayCSSInterpolation;
|
17 | export interface CSSOthersObject {
|
18 | [propertiesName: string]: CSSInterpolation;
|
19 | }
|
20 | export interface CSSObject extends CSSPropertiesWithMultiValues, CSSPseudos, CSSOthersObject {
|
21 | }
|
22 | export interface ComponentSelector {
|
23 | __emotion_styles: any;
|
24 | }
|
25 | export type Keyframes = {
|
26 | name: string;
|
27 | styles: string;
|
28 | anim: number;
|
29 | toString: () => string;
|
30 | } & string;
|
31 | export interface ArrayInterpolation<Props> extends Array<Interpolation<Props>> {
|
32 | }
|
33 | export interface FunctionInterpolation<Props> {
|
34 | (props: Props): Interpolation<Props>;
|
35 | }
|
36 | export type Interpolation<Props> = InterpolationPrimitive | ArrayInterpolation<Props> | FunctionInterpolation<Props>;
|
37 | export function serializeStyles<Props>(args: Array<TemplateStringsArray | Interpolation<Props>>, registered: RegisteredCache, props?: Props): SerializedStyles; |
\ | No newline at end of file |