import React from 'react'; import { StyledComponent } from '@emotion/styled'; import { Theme } from './interface'; declare type Input = Omit, 'className'> & { className?: string | ((props: Props) => string); }; /** * 包裹组件,注入默认主题,添加默认的 props * @param input {object} 需要注入组件的 props */ declare const sWrap: (input?: Input | undefined, options?: { ignoreProps?: (keyof Props)[] | undefined; } | undefined) => (Comp: StyledComponent, Theme>) => React.ForwardRefExoticComponent & { theme?: Theme | undefined; }> & React.RefAttributes>; export default sWrap;