import { Dispatch, SetStateAction } from "react"; export declare function useTextWidth(font: string): [number, Dispatch>];