[]): ReactHTML[T];
(component: (props: P) => JSX.Element | null): StyledComponent
;
(component: (props: P) => JSX.Element | null, ...tokens: readonly MaybeThunk[]): (props: P) => JSX.Element | null;
}
declare type Falsy = '' | 0 | -0 | false | null | undefined | void;
declare type MaybeArray = T | readonly T[];
declare type MaybeThunk = T | ((context: Context) => T);
interface StyledComponent {
(strings: TemplateStringsArray, ...interpolations: readonly MaybeThunk>[]): (props: P) => JSX.Element | null;
(tokens: MaybeThunk>): (props: P) => JSX.Element | null;
(...tokens: readonly MaybeThunk[]): (props: P) => JSX.Element | null;
}
interface StyledHTML {
(strings: TemplateStringsArray, ...interpolations: readonly MaybeThunk>[]): ReactHTML[T];
(tokens: MaybeThunk>): ReactHTML[T];
(...tokens: readonly MaybeThunk[]): ReactHTML[T];
}
declare const styled: StyledElements;
interface MDXProps extends PropsWithChildren<{
components: MDXProviderComponents;
}> {
}
export { CSSProperties, MDXProps, StyledElements, StyledIntrinsicFactories, styled };