import React from 'react';
type SocialMediaShareCountProps = React.HTMLAttributes<HTMLSpanElement> & {
    children?: (shareCount: number) => React.ReactNode;
    getCount: (url: string, callback: (shareCount?: number) => void, appId?: string, appSecret?: string) => void;
    url: string;
    appId?: string;
    appSecret?: string;
};
export default function createShareCount(getCount: SocialMediaShareCountProps['getCount']): {
    (props: Omit<SocialMediaShareCountProps, 'getCount'>): React.JSX.Element;
    displayName: string;
};
export {};
