import omit from 'lodash/omit'; import { StyledConfig } from 'styled-components'; import { MarginProps, WidthProps } from 'styled-system'; import { FlexItemProps } from './flexItem'; export default omit; export declare const omitMargins: (obj: Obj, ...undesired: string[]) => Partial; export declare const extractMargins: (props: Record) => Partial>>>; declare type FieldStyleProps = FlexItemProps & MarginProps & WidthProps & { className?: string; }; export declare const extractFieldStyleProps: (props: Record) => Partial; interface Split { (p: P, keys: K[]): Pick; (p: P, ...keys: K[]): Pick; } export declare const split: Split; declare type Omittable = string | string[] | { propNames?: string[]; }; export declare const getOmittableProps: (...args: Omittable[]) => Set; export declare const omitProps:

(...args: Omittable[]) => StyledConfig

; export declare const getDataProps: (props: T) => any;