import { FunctionComponent } from 'react'; import { TextStyle, TextProps } from 'react-native'; declare type ScaleText = { deviceBaseWidth?: number; fontSize?: number; lineHeight?: number; realWidth?: number; }; export declare const scaleText: ({ deviceBaseWidth, fontSize, lineHeight, }: ScaleText) => { fontSize: number; lineHeight: number; }; export declare const useScaleText: ({ deviceBaseWidth, fontSize, lineHeight, }: ScaleText) => { fontSize: number; lineHeight: number; }; interface Props extends TextProps { deviceBaseWidth?: number; style?: TextStyle; } declare const ScalableText: FunctionComponent; export default ScalableText;