import * as styled_components from 'styled-components'; import { FC, MouseEventHandler, ChangeEventHandler, FunctionComponent } from 'react'; import { Theme } from 'styled-system'; export { default as i18n } from 'i18next'; declare const LayerWhiteFirstDefault: styled_components.FlattenInterpolation>; declare const LayerWhiteFirstHover: styled_components.FlattenInterpolation>; declare const LayerWhiteFirstActive: styled_components.FlattenInterpolation>; declare const LayerWhiteSecondDefault: styled_components.FlattenInterpolation>; declare const LayerWhiteSecondHover: styled_components.FlattenInterpolation>; declare const LayerYellowDefault: styled_components.FlattenInterpolation>; declare const LayerYellowHover: styled_components.FlattenInterpolation>; declare const LayerBrownDefault: styled_components.FlattenInterpolation>; declare const LayerBrownHover: styled_components.FlattenInterpolation>; declare const LayerGreyDefault: styled_components.FlattenInterpolation>; declare const LayerGreyHover: styled_components.FlattenInterpolation>; declare const LayerGreyButtonsDefault: styled_components.FlattenInterpolation>; declare const LayerGreyButtonsHover: styled_components.FlattenInterpolation>; /** @format */ interface LoaderProps { height?: string; width?: string; } /** @format */ declare const Loader: FC; /** @format */ interface ButtonProps { text?: string; variant?: "primary" | "white" | "secondary" | "plus"; icon?: string; transform?: string; borderStyle?: "dashed" | "solid"; fillWidth?: "max" | undefined; loading?: boolean; disabled?: boolean; size?: "small" | "big"; color?: string; onClick?: MouseEventHandler; } /** @format */ declare const Button: FC; /** @format */ declare const RoundedButton: FC; /** @format */ interface TertiaryButtonProps { text?: string; iconLeft?: string; iconLeftTransform?: string; iconRight?: string; iconRightTransform?: string; fillWidth?: "max" | undefined; loading?: boolean; disabled?: boolean; size?: "small" | "big"; onClick?: MouseEventHandler; } /** @format */ declare const TertiaryButton: FC; /** @format */ interface TagProps { text?: string; variant?: "primary" | "white" | "secondary" | "plus"; icon?: string; iconColor?: string; fillWidth?: "max" | undefined; active?: boolean; onClick?: MouseEventHandler; } /** @format */ declare const Tag: FC; /** @format */ interface IconProps { icon?: string; size?: "big" | undefined; color?: string; transform?: string; } /** @format */ /** * An Icon is a piece of visual element, but we must ensure its accessibility while using it. * It can have 2 purposes: * * - *decorative only*: for example, it illustrates a label next to it. We must ensure that it is ignored by screen readers, by setting `aria-hidden` attribute (ex: ``) * - *non-decorative*: it means that it delivers information. For example, an icon as only child in a button. The meaning can be obvious visually, but it must have a proper text alternative via `aria-label` for screen readers. (ex: ``) */ declare const Icon: FC; /** @format */ interface InputProps { id?: string; type?: React.HTMLInputTypeAttribute | "textarea"; label?: string; note?: string; icon?: string; placeholder?: string; required?: boolean; error?: boolean; success?: boolean; disabled?: boolean; rows?: number; onChange?: ChangeEventHandler; onClick?: ChangeEventHandler; receiveValue: (value?: string) => void; } declare const Input: FunctionComponent; /** @format */ interface FlexWrapperProps { flexDirection?: "column" | "row"; gap?: string; width?: string; height?: string; margin?: string; alignItems?: "flex-start" | "center" | "flex-end"; justifyContent?: "flex-start" | "center" | "flex-end"; flexWrap?: "nowrap" | "wrap" | "wrap-reverse"; onClick?: MouseEventHandler; } /** @format */ declare const FlexWrapper: FC; /** @format */ interface DividerProps { color?: string; width?: string; height?: string; borderRadius?: string; margin?: string; onClick?: MouseEventHandler; } /** @format */ declare const Divider: FC; /** @format */ interface ShapeProps { variant?: string; } /** @format */ declare const Shape: FC; interface TypographyProps { fontFamily: string; variant: "h1" | "h2" | "h3" | "buttonBg" | "buttonSm" | "bodyBg" | "bodySm" | "footnote"; } declare const Typography: styled_components.StyledComponent<"p", any, TypographyProps, never>; /** @format */ interface IdeaCardProps { title?: string; body?: string; projectRoomsSize?: number; organizationType?: "Vereine" | "Initiativen" | "Politik" | "Planungsbüros" | "Stadtverwaltung" | "Presse" | "Sonstige"; img?: string; onClick?: MouseEventHandler; } /** @format */ declare const IdeaCard: FC; /** @format */ interface ProjectroomCardProps { title?: string; projectRoomsSize?: number; organizationType?: "Vereine" | "Initiativen" | "Politik" | "Planungsbüros" | "Stadtverwaltung" | "Presse" | "Sonstige"; img?: string; onClick?: MouseEventHandler; } /** @format */ declare const ProjectroomCard: FC; /** @format */ interface OrganizationCardProps { title?: string; projectRoomsSize?: number; organizationType?: "Vereine" | "Initiativen" | "Politik" | "Planungsbüros" | "Stadtverwaltung" | "Presse" | "Sonstige"; img?: string; onClick?: MouseEventHandler; } /** @format */ declare const OrganizationCard: FC; /** @format */ interface ObjectCardProps { title?: string; subTitle?: string; objectType?: "Vereine" | "Initiativen" | "Politik" | "Planungsbüros" | "Stadtverwaltung" | "Presse" | "Sonstige"; img?: string; onClick?: MouseEventHandler; } /** @format */ declare const ObjectCard: FC; /** @format */ interface FormProps { inputItems?: Array; margin?: string; maxWidth?: string; formik?: string; outsideClick?: boolean; } /** @format */ declare const Form: FC; /** @format */ interface ListProps { CardType?: React.ReactNode; data?: Array; onClick: MouseEventHandler; handleButtonClick: MouseEventHandler; } /** @format */ declare const List: FC; /** @format */ interface ModalProps { x?: string; onClick?: MouseEventHandler; setOpenModal: (x: boolean) => void; openModal: boolean; children: React.ReactNode; zIndex?: number | string; portalId?: string; } /** @format */ declare const Modal: FC; /** @format */ interface SubNavbarProps { iconLeft?: string; iconLeftTransform?: string; textLeft?: string; header?: string; iconRight?: string; iconRightTransform?: string; textRight?: string; onClick?: MouseEventHandler; } /** @format */ declare const SubNavbar: FC; /** @format */ interface AccordionProps { example?: string; onClick?: MouseEventHandler; } /** @format */ declare const Accordion: FC; /** @format */ interface AuthProps { text?: string; variant?: "register" | "login"; loading?: boolean; onClick?: MouseEventHandler; formikRegisterStore?: Function; formikLoginStore?: Function; handleSubmitRegister?: Function; handleSubmitLogin?: Function; } /** @format */ declare const Auth: FC; /** @format */ declare const theme: Theme; /** @format */ declare const GlobalStyle: styled_components.GlobalStyleComponent<{}, styled_components.DefaultTheme>; export { Accordion, Auth, Button, Divider, FlexWrapper, Form, GlobalStyle, Icon, IdeaCard, Input, LayerBrownDefault, LayerBrownHover, LayerGreyButtonsDefault, LayerGreyButtonsHover, LayerGreyDefault, LayerGreyHover, LayerWhiteFirstActive, LayerWhiteFirstDefault, LayerWhiteFirstHover, LayerWhiteSecondDefault, LayerWhiteSecondHover, LayerYellowDefault, LayerYellowHover, List, Loader, Modal, ObjectCard, OrganizationCard, ProjectroomCard, RoundedButton, Shape, SubNavbar, Tag, TertiaryButton, Typography, theme };