UNPKG

778 BTypeScriptView Raw
1import { CSSProperties, Dict } from './types';
2export declare const pseudoelements: {
3 after: boolean;
4 before: boolean;
5 placeholder: boolean;
6 selection: boolean;
7};
8export declare const pseudoclasses: {
9 active: boolean;
10 checked: boolean;
11 disabled: boolean;
12 empty: boolean;
13 enabled: boolean;
14 focus: boolean;
15 hover: boolean;
16 invalid: boolean;
17 required: boolean;
18 target: boolean;
19 valid: boolean;
20};
21export declare type StyleKeyObj = Dict<{
22 styles: string;
23 mediaQuery?: string;
24 pseudoclass?: string;
25 pseudoelement?: string;
26}> & {
27 classNameKey: string;
28};
29export default function getStyleKeysForProps(
30 props: CSSProperties & {
31 mediaQueries?: Dict<string>;
32 },
33 pretty?: boolean
34): StyleKeyObj | null;