import * as React from 'react'; export type ImgOnlyAttributes = { [index in Exclude, keyof React.HTMLAttributes>]: React.ImgHTMLAttributes[index]; }; export declare function setRef(element: T, ref?: React.Ref): void; export declare function multiRef(...refs: Array | undefined>): React.RefObject; export declare const stopPropagation: (event: T) => void; export declare const preventDefault: (event: T) => void; export declare function addClassNameToElement(element: HTMLElement, className: string): void; export declare function removeClassNameFromElement(element: HTMLElement, classNameToRemove: string): void; type ExcludeKeysWithUndefined = { [P in keyof T]?: Exclude; }; export declare const excludeKeysWithUndefined: >(obj: T) => ExcludeKeysWithUndefined; export declare const isDOMTypeElement:

| React.SVGAttributes, T extends Element>(element: React.ReactElement) => element is Omit, "ref"> & { ref?: React.Ref | undefined; }; export declare function isValidNotReactFragmentElement(children: Parameters[0]): children is React.ReactElement>; export declare function isForwardRefElement

| React.SVGAttributes, T extends Element>(children: Parameters[0]): children is Omit, 'ref'> & { ref?: React.Ref | undefined; }; /** * При использовании пропа fetchPriority генерируется warning "Invalid DOM property" (версия React 18.*) * Ворнинга нет в React версии 19.*, поэтому пока поддерживаем 2 версии наименования */ export declare function getFetchPriorityProp(value: React.ImgHTMLAttributes['fetchPriority']): { fetchPriority: 'high' | 'low' | 'auto' | undefined; } | { fetchpriority: 'high' | 'low' | 'auto' | undefined; }; export declare function clickByKeyboardHandler(event: React.KeyboardEvent): void; export {}; //# sourceMappingURL=utils.d.ts.map