import { a as Interpolation, r as ComponentSelector } from "./chunk-Dv2j21_S.js"; import * as React$2 from "react"; //#region node_modules/@emotion/react/dist/declarations/src/types.d.ts /** * @desc Utility type for getting props type of React component. * It takes `defaultProps` into an account - making props with defaults optional. */ type PropsOf> = ReactJSX.LibraryManagedAttributes>; type DistributiveOmit = T extends any ? Pick> : never; //#endregion //#region node_modules/@emotion/react/dist/declarations/src/theming.d.ts interface Theme {} interface ThemeProviderProps { theme: Partial | ((outerTheme: Theme) => Theme); children: React$2.ReactNode; } interface ThemeProvider { (props: ThemeProviderProps): React$2.ReactElement; } declare const useTheme: () => Theme; interface ThemeProviderProps { theme: Partial | ((outerTheme: Theme) => Theme); children: React$2.ReactNode; } declare const ThemeProvider: (props: ThemeProviderProps) => React$2.JSX.Element; declare function withTheme>>(Component: C): React$2.ForwardRefExoticComponent, 'theme'> & { theme?: Theme; }>; //#endregion //#region node_modules/@emotion/react/dist/declarations/src/jsx-namespace.d.ts type IsPreReact19$1 = 2 extends Parameters>['length'] ? true : false; type WithConditionalCSSProp

= 'className' extends keyof P ? string extends P['className' & keyof P] ? { css?: Interpolation; } : {} : {}; /** @ts-ignore */ type ReactJSXElement = true extends IsPreReact19$1 ? JSX.Element : React.JSX.Element; /** @ts-ignore */ type ReactJSXElementClass = true extends IsPreReact19$1 ? JSX.ElementClass : React.JSX.ElementClass; /** @ts-ignore */ type ReactJSXElementAttributesProperty = true extends IsPreReact19$1 ? JSX.ElementAttributesProperty : React.JSX.ElementAttributesProperty; /** @ts-ignore */ type ReactJSXElementChildrenAttribute = true extends IsPreReact19$1 ? JSX.ElementChildrenAttribute : React.JSX.ElementChildrenAttribute; /** @ts-ignore */ type ReactJSXLibraryManagedAttributes = true extends IsPreReact19$1 ? JSX.LibraryManagedAttributes : React.JSX.LibraryManagedAttributes; /** @ts-ignore */ type ReactJSXIntrinsicAttributes = true extends IsPreReact19$1 ? JSX.IntrinsicAttributes : React.JSX.IntrinsicAttributes; /** @ts-ignore */ type ReactJSXIntrinsicClassAttributes = true extends IsPreReact19$1 ? JSX.IntrinsicClassAttributes : React.JSX.IntrinsicClassAttributes; /** @ts-ignore */ type ReactJSXIntrinsicElements$1 = true extends IsPreReact19$1 ? JSX.IntrinsicElements : React.JSX.IntrinsicElements; /** @ts-ignore */ type ReactJSXElementType = true extends IsPreReact19$1 ? string | React.JSXElementConstructor : React.JSX.ElementType; declare namespace ReactJSX { type ElementType = ReactJSXElementType; interface Element extends ReactJSXElement {} interface ElementClass extends ReactJSXElementClass {} interface ElementAttributesProperty extends ReactJSXElementAttributesProperty {} interface ElementChildrenAttribute extends ReactJSXElementChildrenAttribute {} type LibraryManagedAttributes = ReactJSXLibraryManagedAttributes; interface IntrinsicAttributes extends ReactJSXIntrinsicAttributes {} interface IntrinsicClassAttributes extends ReactJSXIntrinsicClassAttributes {} type IntrinsicElements = ReactJSXIntrinsicElements$1; } declare namespace EmotionJSX { type ElementType = ReactJSXElementType; interface Element extends ReactJSXElement {} interface ElementClass extends ReactJSXElementClass {} interface ElementAttributesProperty extends ReactJSXElementAttributesProperty {} interface ElementChildrenAttribute extends ReactJSXElementChildrenAttribute {} type LibraryManagedAttributes = P extends unknown ? WithConditionalCSSProp

& ReactJSXLibraryManagedAttributes : never; interface IntrinsicAttributes extends ReactJSXIntrinsicAttributes {} interface IntrinsicClassAttributes extends ReactJSXIntrinsicClassAttributes {} type IntrinsicElements = { [K in keyof ReactJSXIntrinsicElements$1]: ReactJSXIntrinsicElements$1[K] & { css?: Interpolation; } }; } //#endregion //#region node_modules/@emotion/styled/dist/declarations/src/jsx-namespace.d.ts type IsPreReact19 = 2 extends Parameters>['length'] ? true : false; /** @ts-ignore */ type ReactJSXIntrinsicElements = true extends IsPreReact19 ? JSX.IntrinsicElements : React.JSX.IntrinsicElements; //#endregion //#region node_modules/@emotion/styled/dist/declarations/src/types.d.ts /** Same as StyledOptions but shouldForwardProp must be a type guard */ interface FilteringStyledOptions, ForwardedProps extends keyof Props & string = keyof Props & string> { label?: string; shouldForwardProp?: (propName: string) => propName is ForwardedProps; target?: string; } interface StyledOptions> { label?: string; shouldForwardProp?: (propName: string) => boolean; target?: string; } /** * @typeparam ComponentProps Props which will be included when withComponent is called * @typeparam SpecificComponentProps Props which will *not* be included when withComponent is called */ interface StyledComponent extends React.FC, ComponentSelector { withComponent>>(component: C): StyledComponent, {}, { ref?: React.Ref>; }>; withComponent>>(component: C): StyledComponent>; withComponent(tag: Tag): StyledComponent; } /** * @typeparam ComponentProps Props which will be included when withComponent is called * @typeparam SpecificComponentProps Props which will *not* be included when withComponent is called */ interface CreateStyledComponent { (template: TemplateStringsArray, ...styles: Array>): StyledComponent; /** * @typeparam AdditionalProps Additional props to add to your styled component */ (template: TemplateStringsArray, ...styles: Array>): StyledComponent; /** * @typeparam AdditionalProps Additional props to add to your styled component */ (...styles: Array>): StyledComponent; } /** * @desc * This function accepts a React component or tag ('div', 'a' etc). * * @example styled(MyComponent)({ width: 100 }) * @example styled(MyComponent)(myComponentProps => ({ width: myComponentProps.width }) * @example styled('div')({ width: 100 }) * @example styled('div')(props => ({ width: props.width }) */ interface CreateStyled { >, ForwardedProps extends keyof React.ComponentProps & string = keyof React.ComponentProps & string>(component: C, options: FilteringStyledOptions, ForwardedProps>): CreateStyledComponent, ForwardedProps> & { theme?: Theme; }, {}, { ref?: React.Ref>; }>; >>(component: C, options?: StyledOptions>): CreateStyledComponent & { theme?: Theme; }, {}, { ref?: React.Ref>; }>; >, ForwardedProps extends keyof React.ComponentProps & string = keyof React.ComponentProps & string>(component: C, options: FilteringStyledOptions, ForwardedProps>): CreateStyledComponent, ForwardedProps> & { theme?: Theme; }>; >>(component: C, options?: StyledOptions>): CreateStyledComponent & { theme?: Theme; }>; (tag: Tag, options: FilteringStyledOptions): CreateStyledComponent<{ theme?: Theme; as?: React.ElementType; }, Pick>; (tag: Tag, options?: StyledOptions): CreateStyledComponent<{ theme?: Theme; as?: React.ElementType; }, ReactJSXIntrinsicElements[Tag]>; } //#endregion export { EmotionJSX as a, useTheme as c, ReactJSXIntrinsicElements as i, withTheme as l, CreateStyledComponent as n, Theme as o, StyledComponent as r, ThemeProvider as s, CreateStyled as t };