import type { ComponentPropsWithRef, ElementType, Ref } from 'react';
type RefPropOf<C extends ElementType> = ComponentPropsWithRef<C> extends {
    ref?: infer R | undefined;
} ? R : never;
export type RefOf<C extends ElementType> = RefPropOf<C> extends Ref<infer R> ? R : never;
export {};
//# sourceMappingURL=RefOf.d.ts.map