/** Mnemonic dashboard port: 4276 spells HARN on a phone keypad. */ export declare const DEFAULT_WEB_PORT = 4276; /** Cookie-isolated host for navigable repo files. */ export declare const FILES_ORIGIN_HOST = "harnery-files.localhost"; /** * Percent-encode one URL component so the finished URL is safe as a bare * Markdown destination. * * encodeURIComponent leaves parentheses raw, and a raw ")" ends a `[text](url)` * destination early. The alternative is the angle-bracket destination form, * which is valid CommonMark but is not implemented by every renderer, and one * that skips it can style the text as a link while dropping the href, leaving * something that looks clickable and does nothing. These URLs are written into * Markdown for humans to click, so encode the parentheses instead. */ export declare function encodeLinkSafeComponent(value: string): string; /** Encode each repo-path segment while preserving slash-based URL resolution. */ export declare function encodedRepoPath(relPath: string): string; export declare function localFilesOriginUrl(relPath: string, port?: number | string, protocol?: string): string; export declare function localFileViewerUrl(relPath: string, port?: number | string): string; //# sourceMappingURL=local-file-url.d.ts.map