import { Component } from 'react'; import { Context } from 'react'; import { FastOmit } from 'styled-components'; import { FC } from 'react'; import { ForwardRefComponent } from 'framer-motion'; import { HTMLMotionProps } from 'framer-motion'; import { IStyledComponentBase } from 'styled-components/dist/types'; import { PropsWithChildren } from 'react'; import { ReactNode } from 'react'; import { RefAttributes } from 'react'; import { Substitute } from 'styled-components/dist/types'; declare type AddDollarSign = { [K in keyof T as `$${string & K}`]: T[K]; }; declare type AddDollarSign_2 = { [K in keyof T as `$${string & K}`]: T[K]; }; declare type addOutlineProps = { isReadOnly?: boolean; isDisabledOutline?: boolean; isOutlineBoxShadow?: boolean; }; export declare const DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT = 0.3; export declare const DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT = 0.4; export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND: IThemePaletteKeys; export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS: string; export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT: string; export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH: string; export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING: string; export declare const DialogContent: IStyledComponentBase<"web", FastOmit, "ref"> & RefAttributes, never>> & string & Omit>, keyof Component>; declare type DialogContentObjectPropsContent = (remove?: () => void, isAnimating?: boolean, propsCustom?: T) => ReactNode; declare type DialogContentObjectPropsDialog = { maxWidth?: string; maxHeight?: string; padding?: string; borderRadius?: string; background?: IThemePaletteKeys; isRemoveOnOutsideClick?: boolean; }; export declare type DialogContentProps = { props?: useDialogProps; id?: string; index?: number; onRemove?: () => void; }; export declare const DialogContext: Context; export declare type DialogContextItemProps = { add: () => void; remove: () => void; id: string | null; }; export declare type DialogContextProps = { add: (dialog: DialogContentProps) => void; remove: (id: DialogContentProps['id']) => void; update: (dialog: DialogContentProps) => void; dialogHistory: DialogContentProps[]; }; export declare type DialogElementProps = DialogContentProps; export declare const DialogElementWrapper: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, AddDollarSign_2, "propsDialog">>>> & string & Omit>, keyof Component>; export declare type DialogElementWrapperProps = AddDollarSign, 'propsDialog'>>; export declare const DialogLayout: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, AddDollarSign_2>>> & string & Omit>, keyof Component>; export declare type DialogLayoutProps = AddDollarSign>; declare type IThemePaletteKeys = 'transparent' | 'black100' | 'black80' | 'black60' | 'black50' | 'black40' | 'black10' | 'black05' | 'black04' | 'blackHelena' | 'blackJanice' | 'grayJanice' | 'grayKaren' | 'grayMonica' | 'graySandra' | 'grayPatricia' | 'graySarah' | 'grayStassie' | 'grayAdriana' | 'greenGoogle' | 'grayBarbara' | 'grayStephanie' | 'grayFrances' | 'grayTina' | 'green100' | 'green50' | 'green25' | 'green10' | 'green10Background' | 'whiteStandard' | 'whiteJanice' | 'yellowGoogle' | 'yellow100' | 'yellow50' | 'yellow25' | 'yellow10' | 'yellow10Background' | 'redGoogle' | 'red100' | 'red50' | 'red25' | 'red10' | 'red10Background' | 'blueGoogle' | 'blueRest' | 'blueActive' | 'blueHover' | 'blueFocus' | 'blueBr' | 'blueKaren' | 'blueMonica' | 'violetStephanie' | 'violetJanice' | 'amnezia' | 'inherit' | 'currentColor'; export declare const ProviderDialog: FC; export declare type ProviderDialogProps = PropsWithChildren & { zIndex: number; }; export declare const useDialog: (props?: useDialogProps) => DialogContextItemProps; export declare type useDialogProps = { content?: DialogContentObjectPropsContent; propsDialog?: DialogContentObjectPropsDialog; propsOutline?: addOutlineProps; propsCustom?: T; onRemove?: () => void; }; export declare const useDialogs: () => DialogContextProps; export { }