/** * BitTorrent tracker service + share BT stats API. */ import type { IncomingMessage, ServerResponse } from 'node:http'; import { createShareTorrent, seedShare, stopSeed, patchFileShare, normalizeDownloadModes, createFileShare } from 'ysk-server-core'; import type { AppContext } from '../app-context.js'; export declare function handleBtTrackerRoutes(ctx: AppContext, req: IncomingMessage, res: ServerResponse, url: URL, method: string): Promise; /** Resolve absolute content path for a share root+path */ export declare function resolveShareContentPath(ctx: AppContext, rootKey: string, relPath: string): string; export { createShareTorrent, seedShare, stopSeed, patchFileShare, createFileShare, normalizeDownloadModes }; //# sourceMappingURL=bt-tracker.d.ts.map