import React from 'react'; import * as RMWC from '@rmwc/types'; export declare type TooltipActivationT = 'hover' | 'click' | 'focus'; export declare type RCTooltipAlignT = 'left' | 'right' | 'top' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'; export declare type TooltipAlignT = 'start' | 'center' | 'end' | 'above' | 'below' | 'startAbove' | 'startBelow' | 'centerAbove' | 'centerBelow' | 'endAbove' | 'endBelow'; export declare type TooltipOptions = { /** How to align the tooltip. This affects both RCTooltip and Tooltip, but only if the given alignment is supported by the component. Defaults to `top`. */ align?: RCTooltipAlignT | TooltipAlignT; /** Activate the tooltip through one or more interactions. Defaults to `['hover', 'focus']`. */ activateOn?: TooltipActivationT | TooltipActivationT[]; /** Whether or not to show an arrow on the Tooltip. Only supported by RCTooltip. Defaults to `false`. */ showArrow?: boolean; /** Delay in milliseconds before showing the tooltip when interacting via touch or mouse. */ enterDelay?: number; /** Delay in milliseconds before hiding the tooltip when interacting via touch or mouse. */ leaveDelay?: number; }; declare type TypographyOptions = { defaultTag?: string | React.ComponentType; headline1?: string | React.ComponentType; headline2?: string | React.ComponentType; headline3?: string | React.ComponentType; headline4?: string | React.ComponentType; headline5?: string | React.ComponentType; headline6?: string | React.ComponentType; subtitle1?: string | React.ComponentType; subtitle2?: string | React.ComponentType; body1?: string | React.ComponentType; body2?: string | React.ComponentType; caption?: string | React.ComponentType; button?: string | React.ComponentType; overline?: string | React.ComponentType; }; /** A provider for setting global options in RMWC. */ export interface RMWCProviderProps { /** Enable / Disable interaction ripples globally */ ripple?: boolean; /** Global options for icons */ icon?: Partial; /** Global tooltip options */ tooltip?: Partial; /** Global typography options */ typography?: Partial; /** Children to render */ children?: React.ReactNode; } /** Backwards compatible defaults to Typography. */ export declare const typographyDefaults: { defaultTag: string; }; export declare const ProviderContext: React.Context; export declare const useProviderContext: () => RMWCProviderProps; /** A provider for setting global options in RMWC. */ export declare const RMWCProvider: ({ children, ...rest }: RMWCProviderProps) => import("react/jsx-runtime").JSX.Element; export {};