UNPKG

tonami

Version:

Minimal CSS-in-JS library that promotes CSS best-practices and strongly-typed design systems.

411 lines (410 loc) 32.8 kB
import React, { ElementType } from "react"; import { Ruleset } from "./lib/types"; declare function styled<C extends ElementType>(baseElement: C): <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; declare const enhancedStyled: typeof styled & { object: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; clipPath: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; mask: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; marker: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; button: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; meter: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; textarea: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; style: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; progress: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; text: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; ruby: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; table: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; small: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; sub: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; circle: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; embed: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; pre: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; caption: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; menu: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; menuitem: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; html: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; a: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; abbr: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; address: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; area: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; article: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; aside: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; audio: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; b: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; base: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; bdi: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; bdo: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; big: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; blockquote: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; body: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; br: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; canvas: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; cite: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; code: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; col: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; colgroup: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; data: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; datalist: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; dd: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; del: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; details: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; dfn: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; dialog: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; div: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; dl: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; dt: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; em: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; fieldset: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; figcaption: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; figure: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; footer: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; form: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; h1: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; h2: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; h3: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; h4: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; h5: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; h6: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; head: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; header: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; hgroup: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; hr: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; i: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; iframe: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; img: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; input: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; ins: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; kbd: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; keygen: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; label: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; legend: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; li: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; link: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; main: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; map: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; mark: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; meta: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; nav: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; noscript: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; ol: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; optgroup: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; option: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; output: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; p: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; param: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; picture: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; q: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; rp: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; rt: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; s: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; samp: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; script: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; section: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; select: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; source: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; span: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; strong: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; summary: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; sup: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; tbody: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; td: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; tfoot: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; th: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; thead: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; time: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; title: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; tr: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; track: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; u: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; ul: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; var: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; video: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; wbr: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; svg: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; defs: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; ellipse: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; foreignObject: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; g: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; image: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; line: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; linearGradient: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; path: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; pattern: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; polygon: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; polyline: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; radialGradient: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; rect: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; stop: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; tspan: <I>(...rules: Ruleset<I>[]) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<I & { as?: React.ElementType<any> | undefined; } & Omit<any, keyof I>> & React.RefAttributes<unknown>>>; }; export { enhancedStyled as styled };