export interface ShareRule {
    host: string;
}
export interface ShareOption {
    title: string;
    image: string;
    text: string;
    url?: string;
}
export interface Index {
    (option: ShareOption): Promise<any>;
}
export default function (allowedHosts?: ShareRule[]): Index;
