export declare const getDeepLink: (alias: string, branchDomain: string, branchKey: string) => Promise<string>;
export declare const getBranchLinkMeta: (branchUrl: string, branchKey: string) => Promise<any>;
export type DeepLinkType = 'lure' | 'wer';
export interface DeepLinkMetadata {
    $og_title?: string;
    $og_description?: string;
    $og_image_url?: string;
    $twitter_title?: string;
    $twitter_description?: string;
    $twitter_image_url?: string;
    $twitter_card?: string;
    inviterUserId?: string;
    inviterNickname?: string;
    inviterAvatarImage?: string;
    inviterColor?: string;
    invitedGroupId?: string;
    invitedGroupTitle?: string;
    invitedGroupDescription?: string;
    invitedGroupIconImageUrl?: string;
    invitedGroupiconImageColor?: string;
    inviteType?: 'user' | 'group';
    group?: string;
    inviter?: string;
    image?: string;
}
export interface AppInvite extends DeepLinkMetadata {
    id: string;
    shouldAutoJoin: boolean;
}
export type Lure = {
    lure: AppInvite | undefined;
    priorityToken: string | undefined;
};
export interface DeepLinkData extends DeepLinkMetadata {
    $desktop_url: string;
    $canonical_url: string;
    wer?: string;
    lure?: string;
}
export declare function extractLureMetadata(branchParams: any): {};
export declare function isLureMeta(input: unknown): input is DeepLinkMetadata;
export declare function getDmLink(ship: string, branchDomain: string, branchKey: string): Promise<string>;
export declare const createDeepLink: ({ fallbackUrl, type, path, metadata, }: {
    fallbackUrl: string | undefined;
    type: DeepLinkType;
    path: string;
    metadata?: DeepLinkMetadata;
}) => Promise<string>;
export declare function checkInviteServiceLinkExists(inviteId: string): Promise<boolean>;
//# sourceMappingURL=branch.d.ts.map