import { type ReactNode } from 'react'; export type DecoratorsType = { [K in T]?: DecoratorType; }; export type DecoratorType = (text: string) => ReactNode; export declare const useDecorators: (defaultTexts: { [K_1 in T]: string; }, decorators: DecoratorsType | undefined) => { [K in T]: ReactNode; };