Trilium Electron API
    Preparing search index...

    Interface NativeImportPickedFile

    A single user-chosen file: a capability token (redeemed to import it) and its display name — never a path.

    interface NativeImportPickedFile {
        fileName: string;
        token: string;
    }
    Index
    fileName: string

    Display name of the chosen file.

    token: string

    Single-use, short-lived grant for the chosen file.