import { StyleWithCustomProps } from './types'; import { LayoutType, CssValue } from './types/LayoutProps'; export type { LayoutType }; interface PropConfig { isVar?: number; [key: string]: unknown; } interface LayoutOwnProps { flow?: CssValue; autoFill?: boolean; sideW?: CssValue; mainW?: CssValue; breakSize?: CssValue; } type LayoutSpecificKeys = keyof LayoutOwnProps; export interface BaseProps { primitiveClass?: string[]; style?: StyleWithCustomProps; _propConfig?: Record; } interface InputProps extends BaseProps, LayoutOwnProps { } export default function getLayoutProps

(layout: LayoutType | undefined, props: P): Omit & BaseProps;