def path_reference(filepath: str, base_src: str, base_dst: str, mode: str=
    'AUTO', copy_subdir: str='', copy_set: set=None, library:
    'bpy.types.Library'=None) ->str:
    """Return a filepath relative to a destination directory, for use with exporters. 

    :param filepath: the file path to return, supporting blenders relative ‘//’ prefix. 
    :type filepath: str
    :param base_src: the directory the filepath is relative too (normally the blend file). 
    :type base_src: str
    :param base_dst: the directory the filepath will be referenced from (normally the export path). 
    :type base_dst: str
    :param mode: the method used get the path in [‘AUTO’, ‘ABSOLUTE’, ‘RELATIVE’, ‘MATCH’, ‘STRIP’, ‘COPY’] 
    :type mode: str
    :param copy_subdir: the subdirectory of base_dst to use when mode=’COPY’. 
    :type copy_subdir: str
    :param copy_set: collect from/to pairs when mode=’COPY’, pass to path_reference_copy when exporting is done. 
    :type copy_set: set
    :param library: The library this path is relative to. 
    :type library: 'bpy.types.Library'
    :return:  the new filepath. 
    """
    pass
