export interface FBUserProfile {
    name: string;
    avatar: string | null;
}
export declare function getUserProfile(userId: string, pageAccessToken: string): Promise<FBUserProfile>;
export declare function getFacebookAvatar(id: string, accessToken: string, type: 'page'): Promise<string | null>;
export declare function getFacebookConversationId(pageId: string, userId: string, accessToken: string): Promise<string>;
export declare function getFacebookPageInfo(pageId: string, accessToken: string): Promise<{
    name: any;
    avatar: any;
}>;
export declare function checkFacebookSendable(lastMessageAt: Date): {
    canSend: boolean;
    reason: null;
} | {
    canSend: boolean;
    reason: string;
};
