import { CSSObject } from '@mui/styled-engine'; import { StyleFunction } from './Box'; export interface StyleOptions { cssProperty?: PropKey | keyof React.CSSProperties | false; prop: PropKey; /** * dot access in `Theme` */ themeKey?: string; transform?: (cssValue: unknown) => number | string | React.CSSProperties | CSSObject; } export function style( options: StyleOptions, ): StyleFunction<{ [K in PropKey]?: unknown } & { theme?: Theme }> & { filterProps: string[] }; export function getPath(obj: T, path: string | undefined, checkVars?: boolean): null | unknown;