/**
 * Social media detection with profile vs post classification.
 *
 * Each platform has a list of domains and an optional `postPattern` regex
 * that matches the URL pathname for individual content (posts, videos, etc.).
 * If the pathname matches `postPattern`, type is 'post'; otherwise 'profile'.
 *
 * Post patterns per platform:
 *
 * | Platform    | Post patterns                                          | Example post URL                          |
 * |-------------|--------------------------------------------------------|-------------------------------------------|
 * | Instagram   | /p/<id>, /reel/<id>, /stories/<user>/<id>               | instagram.com/p/ABC123                    |
 * | YouTube     | /watch, /shorts/<id>, /live/<id>, /embed/<id>,         | youtube.com/watch?v=xyz                   |
 * |             | youtu.be/<videoId>                                     | youtu.be/dQw4w9WgXcQ                     |
 * | X/Twitter   | /<user>/status/<id>                                    | x.com/user/status/123                     |
 * | Facebook    | /photo, /video, /posts/<id>, /watch, /reel, /share     | facebook.com/user/posts/123               |
 * | TikTok      | /<user>/video/<id>                                     | tiktok.com/@user/video/123                |
 * | LinkedIn    | /posts/<id>, /pulse/<slug>, /feed/update/              | linkedin.com/posts/user_123               |
 * | Medium      | path ending with -<12+ hex chars>                      | medium.com/@user/article-abc123def456     |
 * | GitHub      | /<user>/<repo> (2+ path segments)                      | github.com/lukso-network/tools            |
 * | Warpcast    | /<user>/0x<hash>                                       | warpcast.com/user/0xabc                   |
 * | Spotify     | /track/, /episode/, /album/                            | open.spotify.com/track/xyz                |
 * | SoundCloud  | /<user>/<track> (2 segments)                           | soundcloud.com/artist/song                |
 */
declare const SOCIAL_MEDIA: {
    facebook: {
        domains: string[];
        postPattern: RegExp;
    };
    x: {
        domains: string[];
        postPattern: RegExp;
    };
    instagram: {
        domains: string[];
        postPattern: RegExp;
    };
    medium: {
        domains: string[];
        postPattern: RegExp;
    };
    discord: {
        domains: string[];
    };
    snapchat: {
        domains: string[];
    };
    whatsapp: {
        domains: string[];
    };
    telegram: {
        domains: string[];
    };
    linkedin: {
        domains: string[];
        postPattern: RegExp;
    };
    github: {
        domains: string[];
        postPattern: RegExp;
    };
    'universal-page': {
        domains: string[];
    };
    youtube: {
        domains: string[];
        postPattern: (host: string, pathname: string) => boolean;
    };
    spotify: {
        domains: string[];
        postPattern: RegExp;
    };
    soundcloud: {
        domains: string[];
        postPattern: RegExp;
    };
    warpcast: {
        domains: string[];
        postPattern: RegExp;
    };
    tiktok: {
        domains: string[];
        postPattern: RegExp;
    };
};
/**
 * Detect social media from a given URL and classify as profile or post.
 *
 * @param url - The URL to check
 * @returns Object with `platform` and `type` ('profile' | 'post'), or undefined
 */
type SocialMediaPlatform = keyof typeof SOCIAL_MEDIA;
export declare const detectSocialMedia: (url?: string) => {
    platform: SocialMediaPlatform;
    type: "profile" | "post";
} | undefined;
export {};
//# sourceMappingURL=detect-social-media.d.ts.map