def get_text_artifacts(text):
    """
    Get artifacts for the given file.

    Parameters
    ----------
    path : str
        File content to analyze

    Returns
    -------
    artifacts : dict
        Dictionary of file artifacts which should be
        considered while processing imports.
    """
    artifacts = {"sep": "\n"}

    lines = text.splitlines(True)
    if len(lines) > 1 and lines[0][-2:] == "\r\n":
        artifacts["sep"] = "\r\n"

    return artifacts