import { type Ref } from 'react'; import { type FileNameProps } from '../Filename'; type SpanProps = { children: string; ref?: Ref; }; type UseLogicParams = FileNameProps & { ref: Ref; }; type UseLogicResult = { isOverflowed: boolean; baseNameProps: SpanProps; suffixWithExtension: string; }; export declare const useLogic: ({ ref: forwardedRef, children, }: UseLogicParams) => UseLogicResult; export {};