/** The scheme an install link uses: the file type's own name. */ export declare const SCHEME = "nzip"; /** What a link asks `bundle install` for: its target, and the app a plugin goes in, when the link says. */ export interface Link { /** `@/` or an `at://` address. */ target: string; /** What `--for` would be given: an app's listing, or a package name. */ for?: string | undefined; } /** * What `bundle install` is given for the link `link`. Throws, saying why, for * anything that is not exactly one of the forms above. */ export declare function readLink(link: string): Link; /** The link for a target `bundle install` takes: what `bundle publish` and `suite publish` can tell an author to put on a page. */ export declare function linkFor(target: string): string; /** The PATH a script started from the macOS desktop gets, before its own: where Homebrew keeps node. */ export declare const MAC_PATH = "/opt/homebrew/bin:/usr/local/bin"; /** The desktop entry that hands `nzip:` links to `archive`, on Linux and the other freedesktop systems. */ export declare function desktopHandler(archive: string): string; /** * The AppleScript of the applet that receives `nzip:` links on macOS — which * arrive as an Apple Event, not as an argument, so a script cannot take them * itself. It hands each to `archive` in the background and is done. */ export declare function appleScriptHandler(archive: string): string; /** The PowerShell script the `nzip:` URL protocol runs on Windows, hidden: node, with `archive` mounted. */ export declare function windowsHandlerScript(node: string, archive: string): string; /** The command the `nzip:` URL protocol is registered with: that script, hidden, given the link. */ export declare function windowsHandlerCommand(script: string): string; //# sourceMappingURL=links.d.ts.map