port module Ports exposing
    ( assetsLoaded
    , checkAssetsLoaded
    , copyToClipboard
    , loadTheme
    , saveTheme
    , sendToLocalStorage
    )

import Json.Encode as Encode


port sendToLocalStorage : { key : String, value : Encode.Value } -> Cmd msg


port copyToClipboard : String -> Cmd msg


port saveTheme : String -> Cmd msg


port loadTheme : (String -> msg) -> Sub msg


port checkAssetsLoaded : () -> Cmd msg


port assetsLoaded : (() -> msg) -> Sub msg
