import { assertValidPlatform, SYNC_PLATFORMS, loadInstallerForTest, type InstallerFn, type PlatformSyncResult, type SyncServiceInput, type SyncServiceResult } from './sync-service-support.js'; export { SYNC_PLATFORMS, assertValidPlatform, loadInstallerForTest }; export type { PlatformSyncResult, SyncServiceInput, SyncServiceResult }; /** * Resolve the path of `install-skills.mjs` inside the peaks-loop * install root, walking up from `import.meta.url` until a * `package.json` with `"name": "peaks-loop"` is found. Returns * `null` when peaks-loop is not on the import path or the script * is absent (e.g. a partial install). */ export declare function resolvePeaksCliInstallerPath(): string | null; export declare function runSkillSync(input: SyncServiceInput): Promise; /** * Test-only export surface. Not part of the public API; subject * to breaking changes without a major version bump. * * The seam exposes the `services` indirection table (so tests * can `vi.spyOn` the resolver and loader) and a cache reset. */ export declare const __testing: { services: { resolvePeaksCliInstallerPath(): string | null; loadInstallerForTest(scriptPath: string): Promise; }; resetInstallerCache(): void; };